diff options
Diffstat (limited to 'test/files/neg/t5358.check')
-rw-r--r-- | test/files/neg/t5358.check | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t5358.check b/test/files/neg/t5358.check new file mode 100644 index 0000000000..59e83bba2f --- /dev/null +++ b/test/files/neg/t5358.check @@ -0,0 +1,7 @@ +t5358.scala:3: error: class C inherits conflicting members: + method hi in trait A of type => String and + method hi in trait B of type => String +(Note: this can be resolved by declaring an override in class C.) +class C extends A with B + ^ +one error found |