summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/files/run/t0807.check1
-rw-r--r--test/files/run/t0807.scala5
2 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t0807.check b/test/files/run/t0807.check
new file mode 100644
index 0000000000..c862cba6b4
--- /dev/null
+++ b/test/files/run/t0807.check
@@ -0,0 +1 @@
+early
diff --git a/test/files/run/t0807.scala b/test/files/run/t0807.scala
new file mode 100644
index 0000000000..e69aa1c71c
--- /dev/null
+++ b/test/files/run/t0807.scala
@@ -0,0 +1,5 @@
+trait A
+trait B extends A { val x = println("early") }
+object Test extends Application {
+ new B {}
+}