summaryrefslogtreecommitdiff
path: root/test/files/run/t1423.scala
diff options
context:
space:
mode:
authorDavid MacIver <david.maciver@gmail.com>2008-10-25 12:40:57 +0000
committerDavid MacIver <david.maciver@gmail.com>2008-10-25 12:40:57 +0000
commit96c581e441ee5a8733f94eb4168eb4af1795b66d (patch)
tree756929484e1ad2656a40ff443a5df866a305223f /test/files/run/t1423.scala
parentb846a6a74164c29f8ea34eafd73aef29f9afc4e3 (diff)
downloadscala-96c581e441ee5a8733f94eb4168eb4af1795b66d.tar.gz
scala-96c581e441ee5a8733f94eb4168eb4af1795b66d.tar.bz2
scala-96c581e441ee5a8733f94eb4168eb4af1795b66d.zip
Renamed the tests for ticket #1423 so they have...
Renamed the tests for ticket #1423 so they have the right name. Similarly, the last commit was to fix #1423, not #1424.
Diffstat (limited to 'test/files/run/t1423.scala')
-rw-r--r--test/files/run/t1423.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/t1423.scala b/test/files/run/t1423.scala
new file mode 100644
index 0000000000..83c35a46bd
--- /dev/null
+++ b/test/files/run/t1423.scala
@@ -0,0 +1,8 @@
+object Test extends Application{
+ val x = 1 match {
+ case 0xFFFFFFFF00000001L => println("Oops, overflow!");
+ case 2L => println(2);
+ case 1L => println(1);
+ case _ => println("????");
+ }
+}