diff options
Diffstat (limited to 'test/files/pos/bug531.scala')
-rw-r--r-- | test/files/pos/bug531.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/pos/bug531.scala b/test/files/pos/bug531.scala new file mode 100644 index 0000000000..02763e08f1 --- /dev/null +++ b/test/files/pos/bug531.scala @@ -0,0 +1,10 @@ +object Test extends App { + import scala.reflect._; + def titi = { + var truc = 0 + val tata: Code[()=>Unit] = () => { + truc = 6 + } + () + } +} |