summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic111.C
blob: 378162e162dc46cb1eedd77ba3738c8577cbdc62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// PR c++/48424
// { dg-options -std=c++0x }

template<typename... Args1>
struct S
{
  template<typename... Args2>
    void f(Args1... args1, Args2&&... args2)
    {
    }
};

int main()
{
  S<int, double> s;
  s.f(1,2.0,false,'a');
}

// { dg-final { scan-assembler "_ZN1SIIidEE1fIIbcEEEvidDpOT_" } }