Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
using22.C
blob: 2396f9ab18596ce90f41bc86977c5f5c7c898b24 [
file
] [
log
] [
blame
]
// PR c++/39786
namespace
A
{
char
(*
f
(
char
*
p
))[
13
]
{
return
0
;
}
}
namespace
B
{
namespace
C
{
char
(*
f
(
int
p
))[
42
]
{
return
0
;
}
}
using
namespace
C
;
}
using
namespace
B
;
using
namespace
A
;
char
x
[
sizeof
*::
f
(
0
)
==
42
?
1
:
-
1
];