aboutsummaryrefslogtreecommitdiff
path: root/tests/pos
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos')
-rw-r--r--tests/pos/traits.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pos/traits.scala b/tests/pos/traits.scala
index 15310d5a4..db611eeb5 100644
--- a/tests/pos/traits.scala
+++ b/tests/pos/traits.scala
@@ -1,10 +1,10 @@
-trait B {
+trait B extends Object {
val z: Int
}
-trait T {
+trait T extends B {
var x = 2