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