☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
parse
/
bitfield3.C
☽
☼
gcc/testsuite/g++.dg/parse/bitfield3.C
code
plain
raw
1
/* PR c++/35320 */
2
/* { dg-do compile } */
3
4
typedef void (func_type)();
5
6
struct A
7
{
8
friend func_type f : 2; /* { dg-error "20:bit-field .void f\\(\\). with non-integral type .func_type." } */
9
};