diff options
Diffstat (limited to 'test/files/neg/ambiguous-same.check')
-rw-r--r-- | test/files/neg/ambiguous-same.check | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/ambiguous-same.check b/test/files/neg/ambiguous-same.check new file mode 100644 index 0000000000..58f4e60ece --- /dev/null +++ b/test/files/neg/ambiguous-same.check @@ -0,0 +1,6 @@ +ambiguous-same.scala:13: error: reference to x is ambiguous; +it is both defined in object X and imported subsequently by +import X.x + x + ^ +one error found |