Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic109.C
blob: 3ecfb7398881ab26dfc0e3530bdf38b09a2d4b87 [
file
] [
log
] [
blame
]
// PR c++/48292
// { dg-do compile { target c++11 } }
template
<
typename
...
Args
>
int
g
(
Args
...);
template
<
int
N
=
0
>
struct
A
{
template
<
typename
...
Args
>
static
auto
f
(
Args
...
args
)
->
decltype
(
g
(
args
...));
};
int
main
()
{
A
<>::
f
();
return
0
;
}