diff options
Diffstat (limited to 'tests/pos/t284-pos.scala')
-rw-r--r-- | tests/pos/t284-pos.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/pos/t284-pos.scala b/tests/pos/t284-pos.scala new file mode 100644 index 000000000..40277e2db --- /dev/null +++ b/tests/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): Unit = { } +} |