Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
tc1
/
dr164.C
blob: 026ec096fb3aaf7e07be0c584d89320e2424c150 [
file
] [
log
] [
blame
]
// { dg-do link }
// Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
// DR164: Overlap between Koenig and normal lookup
void
f
(
int
);
template
<
class
T
>
void
g
(
T t
)
{
f
(
t
);
}
enum
E
{
e
};
void
f
(
E
)
{}
int
main
()
{
g
(
e
);
}