Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / diagnostic / alignof3.C
blob5a3e3f5c2a89ebeb1cdfdf55afd18a7b5dcefb46
1 struct A { long i: 2; };
2 void f()
4   __alignof(A::i); // { dg-error "16:invalid application of .__alignof. to a bit-field" }