From 800ce668acb253c3d5e57b5230d913ad155a0f74 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 22 Mar 2007 18:22:49 +0000 Subject: modified sinsibility checks and test cases --- test/files/run/bug441.check | 1 - test/files/run/bug441.scala | 12 ------------ 2 files changed, 13 deletions(-) delete mode 100644 test/files/run/bug441.check delete mode 100644 test/files/run/bug441.scala (limited to 'test/files/run') diff --git a/test/files/run/bug441.check b/test/files/run/bug441.check deleted file mode 100644 index 607ee1a6b8..0000000000 --- a/test/files/run/bug441.check +++ /dev/null @@ -1 +0,0 @@ -plante pas diff --git a/test/files/run/bug441.scala b/test/files/run/bug441.scala deleted file mode 100644 index d90e872baa..0000000000 --- a/test/files/run/bug441.scala +++ /dev/null @@ -1,12 +0,0 @@ -object Test extends Application { - - def bug() = { - val foo: Array[String] = Array("1","2","3"); - if( foo.length == null ) // == 0 makes more sense, but still - Console.println("plante"); // this code leads to runtime crash - else - Console.println("plante pas"); - } - - bug() -} -- cgit v1.2.3