MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail2740.d
blob340be5281108154be01635a715eee5980517d18f
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail2740.d(17): Error: class `fail2740.Foo` ambiguous virtual function `foo`
5 ---
6 */
7 interface IFoo
9 int foo();
12 mixin template MFoo(int N)
14 int foo() { return N; }
17 class Foo : IFoo
19 mixin MFoo!(1) t1;
20 mixin MFoo!(2) t2;