repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
c++: constantness of call to function pointer [PR111703]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
bitfield3.C
blob
efff2ec993e1180506e40ee2a8b07611a77037d4
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
};