diff options
Diffstat (limited to 'tests/untried/pos/t8363.scala')
-rw-r--r-- | tests/untried/pos/t8363.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/untried/pos/t8363.scala b/tests/untried/pos/t8363.scala new file mode 100644 index 000000000..639faf412 --- /dev/null +++ b/tests/untried/pos/t8363.scala @@ -0,0 +1,7 @@ +class C(a: Any) +class Test { + def foo: Any = { + def form = 0 + class C1 extends C(() => form) + } +} |