summaryrefslogtreecommitdiff
path: root/test/files/pos/t7091.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t7091.scala')
-rw-r--r--test/files/pos/t7091.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/t7091.scala b/test/files/pos/t7091.scala
new file mode 100644
index 0000000000..72e81a2ea8
--- /dev/null
+++ b/test/files/pos/t7091.scala
@@ -0,0 +1,7 @@
+package p1.p2
+
+protected[p2] class C(var x: Int = 0)
+
+protected[p2] trait T {
+ new C()
+}