diff options
Diffstat (limited to 'test/files/pos/t7011.scala')
-rw-r--r-- | test/files/pos/t7011.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/t7011.scala b/test/files/pos/t7011.scala new file mode 100644 index 0000000000..539f662bc0 --- /dev/null +++ b/test/files/pos/t7011.scala @@ -0,0 +1,7 @@ +object bar { + def foo { + lazy val x = 42 + + {()=>x} + } +}
\ No newline at end of file |