simulate-thread tests: Silence gdb debuginfod warning
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic-mangle4.C
blob6930180d777b37cf4f24922aaa13675c2d3830fa
1 // PR c++/95298
2 // { dg-do compile { target c++11 } }
3 // { dg-additional-options -fabi-compat-version=0 }
5 template<class...>
6 struct list{};
8 template<int n>
9 struct _func_select
11   using f = void;
14 struct func
16   template<class... seqs>
17   using f = typename _func_select<sizeof...(seqs)>::f;
20 template<class... T>
21 func::f<list<T>...> foo(T&&...)
24 // { dg-final { scan-assembler "_Z3fooIJEEN12_func_selectIXsPDp4listIJT_EEEEE1fEDpOS2_" } }
26 int main()
28   foo();