From 25a98964b5109aa55b71a8a26886c59903193548 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 6 Oct 2005 13:14:33 +0000 Subject: *** empty log message *** --- test-nsc/files/pos/bug1.scala | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 test-nsc/files/pos/bug1.scala (limited to 'test-nsc/files/pos/bug1.scala') diff --git a/test-nsc/files/pos/bug1.scala b/test-nsc/files/pos/bug1.scala new file mode 100755 index 0000000000..bdf33ef20d --- /dev/null +++ b/test-nsc/files/pos/bug1.scala @@ -0,0 +1,8 @@ +object Exceptions { + + class CubeException(s: String) extends java.lang.RuntimeException(s); + + def main(args: Array[String]) = + System.out.println(new CubeException("test")); + +} -- cgit v1.2.3