diff options
Diffstat (limited to 'test/files/pos/t0453.scala')
-rw-r--r-- | test/files/pos/t0453.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t0453.scala b/test/files/pos/t0453.scala new file mode 100644 index 0000000000..dfacc5eed7 --- /dev/null +++ b/test/files/pos/t0453.scala @@ -0,0 +1,6 @@ +object Test { + val foo = new { + trait Bar + def l () : Bar = { new Bar {} } + } +} |