diff options
Diffstat (limited to 'test/files/neg/bug284.check')
-rw-r--r-- | test/files/neg/bug284.check | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/neg/bug284.check b/test/files/neg/bug284.check new file mode 100644 index 0000000000..7e54672365 --- /dev/null +++ b/test/files/neg/bug284.check @@ -0,0 +1,8 @@ +bug284.scala:2: warning: Detected apparent refinement of Unit; are you missing an '=' sign? + def f1(a: T): Unit { } + ^ +bug284.scala:6: error: eof expected but '}' found. +} +^ +one warning found +one error found |