diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/neg/t1355.check | 4 | ||||
-rw-r--r-- | test/files/neg/t1355.scala | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t1355.check b/test/files/neg/t1355.check new file mode 100644 index 0000000000..f9786e9271 --- /dev/null +++ b/test/files/neg/t1355.check @@ -0,0 +1,4 @@ +t1355.scala:1: error: type arguments [A[T]] do not conform to trait A's type parameter bounds [T <: A[A[T]]] +trait A[T <: A[A[T]]] + ^ +one error found diff --git a/test/files/neg/t1355.scala b/test/files/neg/t1355.scala new file mode 100644 index 0000000000..3e5e375e9a --- /dev/null +++ b/test/files/neg/t1355.scala @@ -0,0 +1 @@ +trait A[T <: A[A[T]]]
\ No newline at end of file |