diff options
Diffstat (limited to 'test/files/neg/imp2.check')
-rw-r--r-- | test/files/neg/imp2.check | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/imp2.check b/test/files/neg/imp2.check new file mode 100644 index 0000000000..2daca73bf3 --- /dev/null +++ b/test/files/neg/imp2.check @@ -0,0 +1,7 @@ +imp2.scala:18 error: reference to f is ambiguous; +it is imported twice in the same scope by +import b.{_} +and import a.{_} + val x = f
+ ^ +one error found |