Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/variadic186.C

raw
1 // PR c++/111592
2 // { dg-do compile { target c++11 } }
3
4 struct ignore { ignore(...) {} };
5
6 template<class... Args>
7 void InternalCompilerError(Args... args)
8 { ignore{ ignore(args) ... }; }
9
10 int main()
11 { InternalCompilerError(0, 0); }