summaryrefslogtreecommitdiff
path: root/test-nsc/files/pos/reftest.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test-nsc/files/pos/reftest.scala')
-rwxr-xr-xtest-nsc/files/pos/reftest.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-nsc/files/pos/reftest.scala b/test-nsc/files/pos/reftest.scala
new file mode 100755
index 0000000000..f709f70897
--- /dev/null
+++ b/test-nsc/files/pos/reftest.scala
@@ -0,0 +1,4 @@
+import scala._;
+object test {
+ val x: Ref[Int] = new Ref(1);
+} \ No newline at end of file