Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
koenig12.C
blob: fd05ef5719e2dbaf4577cce6523c32d73ffbbc4f [
file
] [
log
] [
blame
]
// PR c++/68942
// { dg-do compile { target c++11 } }
void
foo
(...)
=
delete
;
template
<
class
T
>
void
lookup
(
T t
)
{
foo
(
t
);
}
namespace
N
{
struct
A
{
};
int
foo
(
A
);
}
int
main
()
{
lookup
(
N
::
A
{});
}