diff options
author | paltherr <paltherr@epfl.ch> | 2003-11-25 16:35:43 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-11-25 16:35:43 +0000 |
commit | 35cfb1d88b2123d1712b247f4081ef71cc962268 (patch) | |
tree | 192162ef08d7cce2107b13defaf97bfb87261380 /test | |
parent | 164e2d82830d209820297ca104a00ad0b147389b (diff) | |
download | scala-35cfb1d88b2123d1712b247f4081ef71cc962268.tar.gz scala-35cfb1d88b2123d1712b247f4081ef71cc962268.tar.bz2 scala-35cfb1d88b2123d1712b247f4081ef71cc962268.zip |
- Moved bug199 into files/run/bugs.scala
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/bug199.scala | 7 | ||||
-rw-r--r-- | test/files/run/bugs.check | 3 | ||||
-rw-r--r-- | test/files/run/bugs.scala | 13 | ||||
-rw-r--r-- | test/pos/bug199.scala | 7 |
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; () - } -} |