☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail22749.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/fail22749.d
code
plain
raw
1
// EXTRA_FILES: imports/imp22749.c
2
/* TEST_OUTPUT:
3
---
4
fail_compilation/fail22749.d(12): Error: cannot take address of bit-field `field`
5
---
6
*/
7
import imports.imp22749;
8
9
void test22749()
10
{
11
S22749 s;
12
void* ptr = &s.field;
13
}