diff options
Diffstat (limited to 'test/files/neg/182.check')
-rw-r--r-- | test/files/neg/182.check | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/182.check b/test/files/neg/182.check new file mode 100644 index 0000000000..d5370cd43b --- /dev/null +++ b/test/files/neg/182.check @@ -0,0 +1,5 @@ +bug182.scala:2: error overriding class Foo.I in class Foo; + class Bar.I in class Bar cannot override a class +class Bar extends Foo { class I; } + ^ +one error found |