Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
crash55.C
blob: fd4d4b65edb982c11df7cbb7dac586a2ff7b7eb1 [
file
] [
log
] [
blame
]
// { dg-do compile }
// GROUPS passed old-abort
extern
int
f
(
int
);
// { dg-message "old declaration" }
int
&
f
(
int
x
)
// { dg-error "new declaration" }
{
int
local
;
local
=
x
+
2
;
return
local
;
// { dg-warning "reference to local" }
}