Sign in
gnu
/
gcc
/
14bc1c0e15633ea781d76d0ae4274b2e27d51db5
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
externC3.C
blob: 48696356b67f0ccfff473cbbdd0567c0e71ba880 [
file
] [
log
] [
blame
]
// Test that two extern "C" declarations of the same name in different
// namespaces are treated as declaring the same function.
namespace
foo
{
extern
"C"
int
f
();
}
extern
"C"
int
f
()
{
return
0
;
}
using
namespace
foo
;
int
main
()
{
f
();
}