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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
crash55.C
blob
29533bce619bf1cb61e71f132a1c23b75b3f727d
1
// { dg-do assemble }
2
// GROUPS passed old-abort
3
extern f(int);// { dg-error "" } ambiguates.*
4
5
int& f(int x)
6
{// { dg-error "" } new declaration.*
7
int local;// { dg-error "" } warning
8
9
local = x+2;
10
11
return local;
12
}