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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
typedef.C
blob
9cbba5bce5f6b4d0238715ccbf6934776729e9ed
1
// { dg-do assemble }
2
// PRMS Id: 4687
3
// Bug: g++ misinterprets typedefs of function type in class scope.
4
5
typedef int (*F1) ();
6
struct A {
7
typedef int F();
8
F *fp;
9
F1 g() { return fp; } // { dg-bogus "" } typing
10
};