diff options
Diffstat (limited to 'test/files/pos/t8040.scala')
-rw-r--r-- | test/files/pos/t8040.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t8040.scala b/test/files/pos/t8040.scala new file mode 100644 index 0000000000..b067f36b0b --- /dev/null +++ b/test/files/pos/t8040.scala @@ -0,0 +1,6 @@ + +object Test { + implicit class C(val sc: StringContext) { // no warn unused sc + def c(args: Any*): String = "c?" + args.mkString(",") // would warn unused args + } +} |