diff options
Diffstat (limited to 'tests/untried/neg/abstract.check')
-rw-r--r-- | tests/untried/neg/abstract.check | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/untried/neg/abstract.check b/tests/untried/neg/abstract.check new file mode 100644 index 000000000..811708ccf --- /dev/null +++ b/tests/untried/neg/abstract.check @@ -0,0 +1,11 @@ +abstract.scala:6: error: type mismatch; + found : A + required: A.this.T + def foo2: T = bar().baz(); + ^ +abstract.scala:9: error: type mismatch; + found : A + required: A.this.T + def foo5: T = baz().baz(); + ^ +two errors found |