OSDN Git Service

PR c++/28878
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / parse / crash33.C
1 // PR c++/28878
2 // { dg-do compile }
3
4 template<int>
5 void foo()
6 [
7   throw;        // { dg-error "expected" }
8 }               // { dg-error "expected" }