diff options
Diffstat (limited to 'tests/neg/hklower.scala')
-rw-r--r-- | tests/neg/hklower.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/neg/hklower.scala b/tests/neg/hklower.scala new file mode 100644 index 000000000..e29a1545e --- /dev/null +++ b/tests/neg/hklower.scala @@ -0,0 +1,11 @@ +class Test { + + type T[X] // OK + type U[X] = T[X] // OK + + type V[X] >: T[X] // error + type W[X] >: T[X] <: T[X] // error + + def f[C[X] >: T[X]]() = ??? // error + +} |