Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
alignof3.C
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" }
}