From 10582aff64958a99ee3819cfffc49fa168df478d Mon Sep 17 00:00:00 2001 From: Philipp Haller Date: Sun, 3 Aug 2008 15:17:16 +0000 Subject: Added test for #1146. --- test/files/pos/t1146.scala | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/files/pos/t1146.scala (limited to 'test/files/pos/t1146.scala') 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 + } +} -- cgit v1.2.3