Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
sfinae5.C
blob: 421a06e5ec9f5405ea9874665cbb506166f96a8a [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
class
T
>
T
&&
create
();
template
<
class
T
,
class
U
,
class
=
decltype
(
create
<
T
>()
=
create
<
U
>())
>
char
test
(
int
);
template
<
class
,
class
>
double
test
(...);
int
main
()
{
test
<
int
[],
int
[]>(
0
);
// #1
}