aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/pos_valueclasses/t5667.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/pos_valueclasses/t5667.scala')
-rw-r--r--tests/pos/pos_valueclasses/t5667.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pos/pos_valueclasses/t5667.scala b/tests/pos/pos_valueclasses/t5667.scala
new file mode 100644
index 000000000..80efb181b
--- /dev/null
+++ b/tests/pos/pos_valueclasses/t5667.scala
@@ -0,0 +1,6 @@
+package t5667
+
+object Main {
+ implicit class C(val s: String) extends AnyVal
+ implicit class C2(val s: String) extends AnyRef
+}