aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos/t4202.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/pos/t4202.scala')
-rw-r--r--tests/pending/pos/t4202.scala18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/pending/pos/t4202.scala b/tests/pending/pos/t4202.scala
new file mode 100644
index 000000000..b2a0c0120
--- /dev/null
+++ b/tests/pending/pos/t4202.scala
@@ -0,0 +1,18 @@
+object t4202_1 {
+ () => {
+ trait T {
+ def t = ()
+ }
+ }
+}
+
+object t4202_2 {
+ () => {
+ trait T {
+ def t = ()
+ }
+ object T2 extends T {
+ t
+ }
+ }
+}