summaryrefslogtreecommitdiff
path: root/test/pos/bug199.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pos/bug199.scala')
-rw-r--r--test/pos/bug199.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pos/bug199.scala b/test/pos/bug199.scala
new file mode 100644
index 0000000000..153e999e17
--- /dev/null
+++ b/test/pos/bug199.scala
@@ -0,0 +1,7 @@
+class C { object o; }
+
+object objectInClass {
+ def main(args: Array[String]) = {
+ (new C).o; ()
+ }
+}