| 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); } |