diff options
author | Philipp Haller <hallerp@gmail.com> | 2008-08-03 15:17:16 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2008-08-03 15:17:16 +0000 |
commit | 10582aff64958a99ee3819cfffc49fa168df478d (patch) | |
tree | b54e9876ebb900296d4722c9ccd99fd355870055 /test/files | |
parent | 42f60f37e101a28c145fdc2dd854ea98d58fa49f (diff) | |
download | scala-10582aff64958a99ee3819cfffc49fa168df478d.tar.gz scala-10582aff64958a99ee3819cfffc49fa168df478d.tar.bz2 scala-10582aff64958a99ee3819cfffc49fa168df478d.zip |
Added test for #1146.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/t1146.scala | 6 |
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 + } +} |