OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.c-torture/execute/20020720-1.x: Fix m32r target selector to be a proper
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
typedef.C
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
};