diff options
Diffstat (limited to 'test/files/neg/unit2anyref.scala')
-rw-r--r-- | test/files/neg/unit2anyref.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/neg/unit2anyref.scala b/test/files/neg/unit2anyref.scala new file mode 100644 index 0000000000..3f5c2d19a9 --- /dev/null +++ b/test/files/neg/unit2anyref.scala @@ -0,0 +1,3 @@ +object Test { + val x: AnyRef = () // this should not succeed. +}
\ No newline at end of file |