PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic-mangle1.C
blob51f9581c6d105ce97ce1d9c9878f8dd5067a8aa5
1 // Test for sZ mangling.
2 // { dg-do compile { target c++11 } }
3 // { dg-final { scan-assembler "_Z1fIJidEEv1AIXsZT_EE" } }
5 template <int I> struct A { };
6 template <typename... Ts> void f(A<sizeof...(Ts)>);
8 int main()
10   f<int,double>(A<2>());