summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+ }
+}