MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail7903.d
blob18168ea236182666ef7989032f65f58c630cbafd
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail7903.d(21): Error: variable `fail7903.F1.x` Field members of a `synchronized` class cannot be `public`
5 fail_compilation/fail7903.d(22): Error: variable `fail7903.F1.y` Field members of a `synchronized` class cannot be `export`
6 fail_compilation/fail7903.d(27): Error: variable `fail7903.F2.x` Field members of a `synchronized` class cannot be `public`
7 ---
8 */
9 synchronized class K1
11 public struct S { }
14 synchronized class K2
16 struct S { }
19 synchronized class F1
21 public int x;
22 export int y;
25 synchronized class F2
27 int x;