Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
bitfield3.C
blob: efff2ec993e1180506e40ee2a8b07611a77037d4 [
file
] [
log
] [
blame
]
/* PR c++/35320 */
/* { dg-do compile } */
typedef
void
(
func_type
)();
struct
A
{
friend
func_type f
:
2
;
/* { dg-error "20:bit-field .void f\\(\\). with non-integral type .func_type." } */
};