Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
temp_default3.C
blob: 2d59f4766e975e1c00af01610b9889d1c3c5e420 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
typename
T
,
typename
U
=
typename
T
::
value_type
>
void
f
(
T
);
void
f
(...);
struct
X
{
typedef
int
value_type
;
};
void
g
()
{
f
(
X
());
// okay
f
(
17
);
// okay?
}