diff options
Diffstat (limited to 'test/files/neg/t1705.check')
-rw-r--r-- | test/files/neg/t1705.check | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t1705.check b/test/files/neg/t1705.check new file mode 100644 index 0000000000..7f75bd0fb5 --- /dev/null +++ b/test/files/neg/t1705.check @@ -0,0 +1,7 @@ +t1705.scala:9: error: can't existentially abstract over parameterized type this.T[Z] + val c = new C{ + ^ +t1705.scala:14: error: can't existentially abstract over parameterized type C[String] + val x1 = { + ^ +two errors found |