From dbd31fb845e4731dbe580911b6f44d2d9b1973a9 Mon Sep 17 00:00:00 2001 From: Miguel Garcia Date: Tue, 26 Jun 2012 11:06:50 +0200 Subject: fix for SI-4935 --- test/files/run/t4935.scala | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/files/run/t4935.scala (limited to 'test/files/run/t4935.scala') diff --git a/test/files/run/t4935.scala b/test/files/run/t4935.scala new file mode 100644 index 0000000000..18631e2041 --- /dev/null +++ b/test/files/run/t4935.scala @@ -0,0 +1,9 @@ +object Test extends App { + for (i <- 0 to 1) { + val a = Foo + } +} + +object Foo { + println("hello") +} -- cgit v1.2.3