diff options
Diffstat (limited to 'tests/neg/i866.scala')
-rw-r--r-- | tests/neg/i866.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/neg/i866.scala b/tests/neg/i866.scala new file mode 100644 index 000000000..2cdc99ede --- /dev/null +++ b/tests/neg/i866.scala @@ -0,0 +1,9 @@ +object Test { + def x: Int = "" // error +} +import nonexistent._ // error; this one will swallow all errors below. +object Foo { + def bar(implicit x: NonExistent) = ??? + val baz = bar +} + |