Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/variadic-explicit2.C

raw
1 // PR c++/56774
2 // { dg-require-effective-target c++11 }
3
4 template <class ... Args>
5 struct mytype {};
6
7 template <class T, class ... Args>
8 void something( mytype<T, Args...> )
9 { }
10
11 int main()
12 {
13 something<int, char, bool>( mytype<int, char, bool>() );
14 }