aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t0807.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/t0807.scala')
-rw-r--r--tests/pending/run/t0807.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/pending/run/t0807.scala b/tests/pending/run/t0807.scala
new file mode 100644
index 000000000..1e2a26664
--- /dev/null
+++ b/tests/pending/run/t0807.scala
@@ -0,0 +1,5 @@
+trait A
+trait B extends A { val x = println("early") }
+object Test extends App {
+ new B {}
+}