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
2013-04-30 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
typedef9.C
blob
7788f781fb6bb7630461c8ff46de59ebc1660d05
1
// PR c++/38794
2
// { dg-do compile }
3
4
typedef void foo () {} // { dg-error "invalid function declaration" }
5
struct S
6
{
7
typedef int bar (void) { return 0; } // { dg-error "invalid member function declaration" }
8
};