blob: 56ccac64fae2a551ebc8b51c5c5233e4b77ccfea [file] [log] [blame]
// EXTRA_FILES: imports/imp22749.c
/* TEST_OUTPUT:
---
fail_compilation/fail22749.d(12): Error: cannot take address of bit-field `field`
---
*/
import imports.imp22749;
void test22749()
{
S22749 s;
void* ptr = &s.field;
}