MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / enum9921.d
blob51c8b1a66538ceb8c5a071c2ef76eae9049ec04e
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/enum9921.d(9): Error: enum `enum9921.X` base type must not be `void`
5 fail_compilation/enum9921.d(11): Error: enum `enum9921.Z` base type must not be `void`
6 fail_compilation/enum9921.d(13): Error: variable `enum9921.x` - manifest constants must have initializers
7 ---
8 */
9 enum X : void;
11 enum Z : void { Y };
13 enum int x;