Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nondeduced2.C
blob: 3f96fe4e8588efadd4edaa5b3ae66187730ffe44 [
file
] [
log
] [
blame
]
// PR c++/60223
// { dg-do compile { target c++11 } }
template
<
typename
T
,
T
>
struct
A
{
};
template
<
typename
T
>
void
foo
(
A
<
T
,
T
{}>);
void
bar
()
{
foo
(
A
<
char
,
char
{}>());
foo
<>(
A
<
char
,
char
{}>());
}