aboutsummaryrefslogtreecommitdiff
path: root/tests/run/i1144/AB_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/i1144/AB_1.scala')
-rw-r--r--tests/run/i1144/AB_1.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run/i1144/AB_1.scala b/tests/run/i1144/AB_1.scala
new file mode 100644
index 000000000..ff37674db
--- /dev/null
+++ b/tests/run/i1144/AB_1.scala
@@ -0,0 +1,6 @@
+trait A {
+ def x = 3
+}
+trait B extends A {
+ override def x = super.x * 2
+}