MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / diag10783.d
blobe69eddbec0361183ad5bd3decf22c4198a56ff60
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/diag10783.d(15): Error: no property `type` for `event` of type `diag10783.Event`
5 fail_compilation/diag10783.d(10): struct `Event` defined here
6 fail_compilation/diag10783.d(15): Error: undefined identifier `En`
7 ---
8 */
10 struct Event { }
12 void main()
14 Event event;
15 switch (event.type) with (En)
17 default: