aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t0503.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t0503.scala')
-rw-r--r--tests/untried/neg/t0503.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/untried/neg/t0503.scala b/tests/untried/neg/t0503.scala
new file mode 100644
index 000000000..322e1ad13
--- /dev/null
+++ b/tests/untried/neg/t0503.scala
@@ -0,0 +1,3 @@
+val x = new { } with { }
+trait A
+val y = new { } with A