summaryrefslogtreecommitdiff
path: root/test/files/pos/t284-pos.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t284-pos.scala')
-rw-r--r--test/files/pos/t284-pos.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/t284-pos.scala b/test/files/pos/t284-pos.scala
new file mode 100644
index 0000000000..19673b7e4c
--- /dev/null
+++ b/test/files/pos/t284-pos.scala
@@ -0,0 +1,5 @@
+trait B[T] {
+ def f1(a: T): Unit { }
+ def f2(a: T): Unit
+ def f3(a: T) { }
+}