summaryrefslogtreecommitdiff
path: root/test/files/pos/t1146.scala
diff options
context:
space:
mode:
authorPhilipp Haller <hallerp@gmail.com>2008-08-03 15:17:16 +0000
committerPhilipp Haller <hallerp@gmail.com>2008-08-03 15:17:16 +0000
commit10582aff64958a99ee3819cfffc49fa168df478d (patch)
treeb54e9876ebb900296d4722c9ccd99fd355870055 /test/files/pos/t1146.scala
parent42f60f37e101a28c145fdc2dd854ea98d58fa49f (diff)
downloadscala-10582aff64958a99ee3819cfffc49fa168df478d.tar.gz
scala-10582aff64958a99ee3819cfffc49fa168df478d.tar.bz2
scala-10582aff64958a99ee3819cfffc49fa168df478d.zip
Added test for #1146.
Diffstat (limited to 'test/files/pos/t1146.scala')
-rw-r--r--test/files/pos/t1146.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t1146.scala b/test/files/pos/t1146.scala
new file mode 100644
index 0000000000..7e5adc4f40
--- /dev/null
+++ b/test/files/pos/t1146.scala
@@ -0,0 +1,6 @@
+class Code {
+ val _ = () => {
+ val arr = Array[String]()
+ null
+ }
+}