blob: 5a3e3f5c2a89ebeb1cdfdf55afd18a7b5dcefb46 [file] [log] [blame]
struct A { long i: 2; };
void f()
{
__alignof(A::i); // { dg-error "16:invalid application of .__alignof. to a bit-field" }
}