Sign in
nest-open-source
/
stadia-controller
/
gcc-arm-none-eabi
/
3c699435f69c74a12f5fe18c0181fba6f1dd0479
/
.
/
src
/
gcc
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic121.C
blob: 21121962d5154a366bb62def52833b8c8ccbe113 [
file
] [
log
] [
blame
]
// PR c++/51507
// { dg-do compile { target c++11 } }
template
<
typename
...>
struct
foo
{
typedef
void
type
;
};
template
<
typename
...
Ts
>
auto
g
(
Ts
...
ts
)->
typename
foo
<
decltype
(
ts
)...>::
type
{}
int
main
()
{
g
(
42
);
}