summaryrefslogtreecommitdiff
path: root/test/files/pos/bug0020.scala
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-04-05 12:59:40 +0000
committermichelou <michelou@epfl.ch>2007-04-05 12:59:40 +0000
commitb5b3ce4df69c6dd19506cd332a97c1ad6660e4a5 (patch)
treedd28bb694890839d94974e7c0ba52c9d3f7e12e0 /test/files/pos/bug0020.scala
parent7674f974c372ab1949a19490b48e5734711ded84 (diff)
downloadscala-b5b3ce4df69c6dd19506cd332a97c1ad6660e4a5.tar.gz
scala-b5b3ce4df69c6dd19506cd332a97c1ad6660e4a5.tar.bz2
scala-b5b3ce4df69c6dd19506cd332a97c1ad6660e4a5.zip
4-digits numbering
Diffstat (limited to 'test/files/pos/bug0020.scala')
-rw-r--r--test/files/pos/bug0020.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/bug0020.scala b/test/files/pos/bug0020.scala
new file mode 100644
index 0000000000..4f1e5b1732
--- /dev/null
+++ b/test/files/pos/bug0020.scala
@@ -0,0 +1,8 @@
+object Exceptions {
+
+ class CubeException(s: String) extends RuntimeException(s);
+
+ def main(args: Array[String]) =
+ Console.println(new CubeException("test"));
+
+}