aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t4812.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t4812.scala')
-rw-r--r--tests/untried/pos/t4812.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/untried/pos/t4812.scala b/tests/untried/pos/t4812.scala
index 2a807ab05..da2236770 100644
--- a/tests/untried/pos/t4812.scala
+++ b/tests/untried/pos/t4812.scala
@@ -1,4 +1,4 @@
trait Test1 {
- def m1(sym: Symbol = 'TestSym)
- def m2(s: String = "TestString")
+ def m1(sym: Symbol = 'TestSym): Unit
+ def m2(s: String = "TestString"): Unit
}