summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/files/pos/bug211.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/bug211.scala b/test/files/pos/bug211.scala
index 8c5cf1dc1e..895fb9a8f1 100644
--- a/test/files/pos/bug211.scala
+++ b/test/files/pos/bug211.scala
@@ -1,6 +1,6 @@
trait A;
trait B;
-class Foo: (A with B) extends A with B;
+class Foo requires (A with B) extends A with B;
object Test extends Application {
new Foo();
System.out.println("bug211 completed");