MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / ice13816.d
blobaefe273da0c1ba2b1761055f4f8f257128f4cf05
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice13816.d(17): Error: template instance `TypeTuple!(ItemProperty!())` recursive template expansion
5 fail_compilation/ice13816.d(17): Error: alias `ice13816.ItemProperty!().ItemProperty` recursive alias declaration
6 fail_compilation/ice13816.d(22): Error: template instance `ice13816.ItemProperty!()` error instantiating
7 ---
8 */
11 alias TypeTuple(T...) = T;
13 template ItemProperty()
15 static if (true)
17 alias ItemProperty = TypeTuple!(ItemProperty!());
20 void main()
22 alias items = ItemProperty!();
24 enum num = items.length;