aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/t5271_3.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/disabled/macro/run/t5271_3.check')
-rw-r--r--tests/disabled/macro/run/t5271_3.check21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/disabled/macro/run/t5271_3.check b/tests/disabled/macro/run/t5271_3.check
new file mode 100644
index 000000000..99aacc2ce
--- /dev/null
+++ b/tests/disabled/macro/run/t5271_3.check
@@ -0,0 +1,21 @@
+{
+ object C extends AnyRef {
+ def <init>() = {
+ super.<init>();
+ ()
+ };
+ def qwe = 4
+ };
+ case class C extends Product with Serializable {
+ <caseaccessor> <paramaccessor> val foo: Int = _;
+ <caseaccessor> <paramaccessor> val bar: Int = _;
+ def <init>(foo: Int, bar: Int) = {
+ super.<init>();
+ ()
+ }
+ };
+ val c = C.apply(2, 2);
+ Predef.println(c.foo.$times(c.bar).$eq$eq(C.qwe))
+}
+true
+()