From 03449ed20a3cca9e8d974c7efeff6b4e01ecb66d Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 31 Jul 2003 09:57:59 +0000 Subject: *** empty log message *** --- test/files/pos/bug20.scala | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/files/pos/bug20.scala (limited to 'test/files/pos/bug20.scala') diff --git a/test/files/pos/bug20.scala b/test/files/pos/bug20.scala new file mode 100644 index 0000000000..bdf33ef20d --- /dev/null +++ b/test/files/pos/bug20.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