aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/i1708.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/neg/i1708.scala')
-rw-r--r--tests/neg/i1708.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/neg/i1708.scala b/tests/neg/i1708.scala
new file mode 100644
index 000000000..47bc456f3
--- /dev/null
+++ b/tests/neg/i1708.scala
@@ -0,0 +1,2 @@
+package foo { trait identifier }
+package foo { class identifier } // error