Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
partial-order1.C
blob: 624bb4bc0f09f1c14cfa7be46bd44163d6584bd8 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
using
size_t
=
decltype
(
sizeof
(
0
));
template
<
class
T
>
struct
A
{
using
size_type
=
size_t
;
};
template
<
class
T
>
void
f
(
size_t
,
T
);
template
<
class
T
>
void
f
(
typename
A
<
T
>::
size_type
,
T
);
int
main
()
{
f
(
1
,
2
);
}