diff options
Diffstat (limited to 'test/files/run/t5652/t5652_1.scala')
-rw-r--r-- | test/files/run/t5652/t5652_1.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t5652/t5652_1.scala b/test/files/run/t5652/t5652_1.scala new file mode 100644 index 0000000000..5343f260a2 --- /dev/null +++ b/test/files/run/t5652/t5652_1.scala @@ -0,0 +1,6 @@ +trait T1 { + def f0 = { def g = 1 ; class A { def a = g } ; g ; new A().a } +} +class A1 { + def f1 = { def g = 1 ; class A { def a = g } ; g ; new A().a } +} |