MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail10082.d
blob8a3d2fbf5662714f769dda84c11937c04fa20eaf
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail10082.d(24): Error: cannot infer type from overloaded function symbol `&foo`
5 ---
6 */
8 mixin template T()
10 int foo()
12 return 0;
16 class A
18 mixin T;
19 mixin T;
22 void main()
24 auto x = &A.foo;