Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
bitfield1.C
blob: 16088936cca5a3433750e015a89046b0913463c8 [
file
] [
log
] [
blame
]
// PR c++/27803
struct
A
{
double
i
:
8
;
// { dg-error "10:bit-field .i. with non-integral type .double." }
};
void
foo
(
A
&
a
)
{
(
char
)
a
.
i
;
// { dg-error "no member" }
}