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
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
crash55.C
blob
fd4d4b65edb982c11df7cbb7dac586a2ff7b7eb1
1
// { dg-do compile }
2
// GROUPS passed old-abort
3
extern int f(int); // { dg-message "old declaration" }
4
5
int& f(int x) // { dg-error "new declaration" }
6
{
7
int local;
8
9
local = x+2;
10
11
return local; // { dg-warning "reference to local" }
12
}