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