2 REQUIRED_ARGS: -verrors=spec -o-
5 (spec:1) fail_compilation/fail20730b.d-mixin-43(43): Error: C style cast illegal, use `cast(int)mod`
6 fail_compilation/fail20730b.d(26): Error: template `fail20730b.atomicOp` cannot deduce function from argument types `!("+=")(shared(uint), int)`
7 fail_compilation/fail20730b.d(41): Candidate is: `atomicOp(string op, T, V1)(shared ref T val, V1 mod)`
11 must satisfy the following constraint:
12 ` __traits(compiles, mixin("(int)mod"))`
17 auto f = File().byLine;
26 atomicOp!"+="(refs, 1);
29 struct ByLineImpl(Char)
37 return ByLineImpl!char();
41 T atomicOp(string op, T, V1)(ref shared T val, V1 mod)
42 // C-style cast causes raises a parser error whilst gagged.
43 if (__traits(compiles, mixin("(int)mod")))