Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
ns12.C
blob: c5468914f110807ca8a93e2e0148028fb9364f5f [
file
] [
log
] [
blame
]
// { dg-do run }
namespace
fred
{
int
barney
();
extern
int
wilma
;
}
int
fred
::
barney
()
{
return
fred
::
wilma
;
}
int
fred
::
wilma
;
int
barney
()
{
return
1
;
}
int
main
()
{
return
fred
::
barney
();
}