diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/pending/pos/bug578.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pending/pos/bug578.scala b/test/pending/pos/bug578.scala new file mode 100644 index 0000000000..4899fa7f5f --- /dev/null +++ b/test/pending/pos/bug578.scala @@ -0,0 +1,7 @@ +object Test { + val x = Nil + val x2: Nil = x + val y = None + val y2:None = y + Console.println("Okay") +} |