summaryrefslogtreecommitdiff
path: root/test/pos/bug222.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pos/bug222.scala')
-rw-r--r--test/pos/bug222.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/pos/bug222.scala b/test/pos/bug222.scala
new file mode 100644
index 0000000000..342b2ef469
--- /dev/null
+++ b/test/pos/bug222.scala
@@ -0,0 +1,6 @@
+object Test {
+ def main(args:Array[String]): Unit = {
+ val array: Array[String] = new Array(16);
+ ()
+ }
+}