diff options
Diffstat (limited to 'tests/neg/i2086a.scala')
-rw-r--r-- | tests/neg/i2086a.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/neg/i2086a.scala b/tests/neg/i2086a.scala new file mode 100644 index 000000000..b80535c2c --- /dev/null +++ b/tests/neg/i2086a.scala @@ -0,0 +1,4 @@ + +object Test { // error: Test cannot be instantiated since it has a member type Foo with possibly conflicting bounds Any <: ... <: Nothing + type Foo >: Any <: Nothing +} |