Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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?
}