MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail311.d
blobeaacfabf6a6c80f67726ed4594be0954507c36c4
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail311.d(16): Error: undefined identifier `undefined`
5 fail_compilation/fail311.d(25): Error: template instance `fail311.foo!()` error instantiating
6 ---
7 */
9 template Tuple(T...)
11 alias T Tuple;
14 void foo()()
16 undefined x;
17 foreach (i; Tuple!(2))
19 static assert(true);
23 void main()
25 foo!()();