summaryrefslogtreecommitdiff
path: root/test/files/neg/t6436b.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t6436b.scala')
-rw-r--r--test/files/neg/t6436b.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/neg/t6436b.scala b/test/files/neg/t6436b.scala
new file mode 100644
index 0000000000..8023329e90
--- /dev/null
+++ b/test/files/neg/t6436b.scala
@@ -0,0 +1,9 @@
+object quasiquotes {
+ implicit def foo1(ctx: StringContext) = new { def q = ??? }
+ implicit def foo2(ctx: StringContext) = new { def q = ??? }
+}
+
+object Test extends App {
+ import quasiquotes._
+ println(StringContext("a").q())
+}