Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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" }
}