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