diff options
Diffstat (limited to 'test/neg/bounds.check')
-rw-r--r-- | test/neg/bounds.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/neg/bounds.check b/test/neg/bounds.check new file mode 100644 index 0000000000..0f4693da88 --- /dev/null +++ b/test/neg/bounds.check @@ -0,0 +1,4 @@ +bounds.scala:11: constructor A of type [T >: I](T)A[T] cannot be applied to [T] +class B[T >: J](init: T) extends A[T](init) { + ^ +one error found |