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