summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/files/pos/bug199.scala7
-rw-r--r--test/files/run/bugs.check3
-rw-r--r--test/files/run/bugs.scala13
-rw-r--r--test/pos/bug199.scala7
4 files changed, 15 insertions, 15 deletions
diff --git a/test/files/pos/bug199.scala b/test/files/pos/bug199.scala
deleted file mode 100644
index 153e999e17..0000000000
--- a/test/files/pos/bug199.scala
+++ /dev/null
@@ -1,7 +0,0 @@
-class C { object o; }
-
-object objectInClass {
- def main(args: Array[String]) = {
- (new C).o; ()
- }
-}
diff --git a/test/files/run/bugs.check b/test/files/run/bugs.check
index fc517ee474..5b69f83156 100644
--- a/test/files/run/bugs.check
+++ b/test/files/run/bugs.check
@@ -29,6 +29,9 @@ ok
1
>>> bug 176
+<<< bug 199
+>>> bug 199
+
<<< bug 213
>>> bug 213
diff --git a/test/files/run/bugs.scala b/test/files/run/bugs.scala
index d80e5c1412..d7a7fef170 100644
--- a/test/files/run/bugs.scala
+++ b/test/files/run/bugs.scala
@@ -156,6 +156,16 @@ object Bug176Test {
}
//############################################################################
+// Bug 199
+
+class Bug199C { object o; }
+object Bug199Test {
+ def main(args: Array[String]) = {
+ (new Bug199C).o; ()
+ }
+}
+
+//############################################################################
// Bug 213
trait Bug213Foo {
@@ -270,12 +280,13 @@ object Test {
test(168, Bug168Test.main(args));
test(174, Bug174Test.main(args));
test(176, Bug176Test.main(args));
+ test(199, Bug199Test.main(args));
test(213, Bug213Test.main(args));
test(217, Bug217Test.main(args));
test(222, Bug222Test.main(args));
test(225, Bug225Test.main(args));
test(226, Bug226Test.main(args));
- test(233, Bug233Test.main(args));
+ test(233, Bug233Test.main(args));
if (errors > 0) {
System.out.println();
diff --git a/test/pos/bug199.scala b/test/pos/bug199.scala
deleted file mode 100644
index 153e999e17..0000000000
--- a/test/pos/bug199.scala
+++ /dev/null
@@ -1,7 +0,0 @@
-class C { object o; }
-
-object objectInClass {
- def main(args: Array[String]) = {
- (new C).o; ()
- }
-}