diff options
author | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-05-18 10:14:19 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-05-18 10:14:19 +0000 |
commit | 0577b210982f2c912c133f99cca72c9ea4ab5bcc (patch) | |
tree | 76b892ece8a3d7d51efc567d54fc9fd07711f0d9 /test | |
parent | b7f77112a5701585d6af24a28178279da96c489d (diff) | |
download | scala-0577b210982f2c912c133f99cca72c9ea4ab5bcc.tar.gz scala-0577b210982f2c912c133f99cca72c9ea4ab5bcc.tar.bz2 scala-0577b210982f2c912c133f99cca72c9ea4ab5bcc.zip |
Closes #3417. No review (already done by Martin)
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/t3417.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/t3417.scala b/test/files/pos/t3417.scala new file mode 100644 index 0000000000..d2de1608aa --- /dev/null +++ b/test/files/pos/t3417.scala @@ -0,0 +1,11 @@ +trait X extends NotNull { + def foo = 1 +} + +trait Y extends Object with NotNull { + def bar = 1 +} + +class Z extends NotNull + +class W extends Object with NotNull |