aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/neg/clashes.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/neg/clashes.scala b/tests/neg/clashes.scala
new file mode 100644
index 000000000..11354706d
--- /dev/null
+++ b/tests/neg/clashes.scala
@@ -0,0 +1,6 @@
+object Test {
+ class C
+ type C
+}
+
+object Test