aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos/t7987/Test_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/pos/t7987/Test_2.scala')
-rw-r--r--tests/pending/pos/t7987/Test_2.scala14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/pending/pos/t7987/Test_2.scala b/tests/pending/pos/t7987/Test_2.scala
index 5896fdb51..aaa21ec4c 100644
--- a/tests/pending/pos/t7987/Test_2.scala
+++ b/tests/pending/pos/t7987/Test_2.scala
@@ -1,12 +1,12 @@
-class C[T] {
- def foo = 0
-}
+class C[T] {
+ def foo = 0
+}
object Test {
- implicit def AnyToC[T](a: Any): C[T] = new C[T]
+ implicit def AnyToC[T](a: Any): C[T] = new C[T]
// was: "macro not expanded"
- Macro {
- "".foo
- ()
+ Macro {
+ "".foo
+ ()
}
}