diff options
Diffstat (limited to 'test/files/neg/t8079a.check')
-rw-r--r-- | test/files/neg/t8079a.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t8079a.check b/test/files/neg/t8079a.check new file mode 100644 index 0000000000..6bbe78afa6 --- /dev/null +++ b/test/files/neg/t8079a.check @@ -0,0 +1,4 @@ +t8079a.scala:3: error: contravariant type I occurs in covariant position in type C.this.X of value b + def f2(b: X): Unit + ^ +one error found |