Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
bitfield2.C
blob: f81f868a2fc28abc392c28af66f6dc6446fb3ce1 [
file
] [
log
] [
blame
]
// PR c++/28052
// { dg-do compile }
struct
A
{
double
d
:
2
;
// { dg-error "10:bit-field .d. with non-integral type .double." }
A
()
{}
~
A
()
{}
};