summaryrefslogtreecommitdiff
path: root/test/files/pos/t3417.scala
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-05-18 10:14:19 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-05-18 10:14:19 +0000
commit0577b210982f2c912c133f99cca72c9ea4ab5bcc (patch)
tree76b892ece8a3d7d51efc567d54fc9fd07711f0d9 /test/files/pos/t3417.scala
parentb7f77112a5701585d6af24a28178279da96c489d (diff)
downloadscala-0577b210982f2c912c133f99cca72c9ea4ab5bcc.tar.gz
scala-0577b210982f2c912c133f99cca72c9ea4ab5bcc.tar.bz2
scala-0577b210982f2c912c133f99cca72c9ea4ab5bcc.zip
Closes #3417. No review (already done by Martin)
Diffstat (limited to 'test/files/pos/t3417.scala')
-rw-r--r--test/files/pos/t3417.scala11
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