diff options
Diffstat (limited to 'test/files/pos/t5330b.scala')
-rw-r--r-- | test/files/pos/t5330b.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t5330b.scala b/test/files/pos/t5330b.scala new file mode 100644 index 0000000000..dbeb165cd8 --- /dev/null +++ b/test/files/pos/t5330b.scala @@ -0,0 +1,6 @@ +abstract trait Base { + def foo: this.type +}; +class Derived[T] extends Base { + def foo: Nothing = sys.error("!!!") +} |