diff options
Diffstat (limited to 'test/files/neg/t1163.scala')
-rw-r--r-- | test/files/neg/t1163.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/neg/t1163.scala b/test/files/neg/t1163.scala new file mode 100644 index 0000000000..caf5747f9e --- /dev/null +++ b/test/files/neg/t1163.scala @@ -0,0 +1,2 @@ +trait Super { def foo: Super = new Super {} } +trait Sub extends Super { override def foo: Sub } |