MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / biterrors4.d
blob0f2ca2d0d3fccffc9c330b8b958abcbc3bb0b6c0
1 /* REQUIRED_ARGS: -preview=bitfields
2 * TEST_OUTPUT:
3 ---
4 fail_compilation/biterrors4.d(109): Error: cannot take address of bit-field `a`
5 ---
6 */
8 #line 100
10 struct S
12 int a:3;
15 void test()
17 S s;
18 int* p = &s.a;