blob: 8e8f81493f2c9cc07cfac57656eef23dbff6e509 [file] [log] [blame]
// { dg-options "-fabi-version=0" }
// { dg-do compile { target c++11 } }
template<typename... Args>
class tuple {};
void f_none(tuple<>) {}
void f_one(tuple<int>) {}
void f_two(tuple<int, float>) {}
void f_nested(tuple<int, tuple<double, char>, float>) { }
// { dg-final { scan-assembler "_Z6f_none5tupleIJEE" } }
// { dg-final { scan-assembler "_Z5f_one5tupleIJiEE" } }
// { dg-final { scan-assembler "_Z5f_two5tupleIJifEE" } }
// { dg-final { scan-assembler "_Z8f_nested5tupleIJiS_IJdcEEfEE" } }