Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
koenig11.C
blob: d69709bab59c80e124c18ca355548af73f94a28e [
file
] [
log
] [
blame
]
// PR c++/93211
// { dg-do compile { target c++11 } }
template
<
typename
T
>
void
g
(
T
);
template
<
typename
T
,
decltype
(
g
(
T
{}))
=
0
>
void
f
()
{}
template
<
typename
T
,
decltype
(::
g
(
T
{}))
=
0
>
void
f
()
{}
// { dg-bogus "redefinition" }