summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2006-04-27 08:53:56 +0000
committerLex Spoon <lex@lexspoon.org>2006-04-27 08:53:56 +0000
commita9595d49f79854bf92ef692c2d22888522b433fd (patch)
treef1f56953954692aab9fb719ed0e7331ffa097420 /test
parentef8d203f268e5834d4868dc864d1cbcf9c283992 (diff)
downloadscala-a9595d49f79854bf92ef692c2d22888522b433fd.tar.gz
scala-a9595d49f79854bf92ef692c2d22888522b433fd.tar.bz2
scala-a9595d49f79854bf92ef692c2d22888522b433fd.zip
Diffstat (limited to 'test')
-rw-r--r--test/pending/pos/bug578.scala7
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")
+}