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