Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
koenig4.C
blob: d26bd130e1573da1f85e7b311cae93879022dbdf [
file
] [
log
] [
blame
]
// { dg-do run }
void
f
();
void
f
(
int
);
namespace
A
{
struct
S
{
void
f
();
void
f
(
S
);
};
void
f
(
S
&){}
void
h
(
S
&){}
}
template
<
class
T
>
void
g
(
T t
){
f
(
t
);
}
int
main
()
{
A
::
S s
;
f
(
s
);
g
(
s
);
h
(
s
);
}