summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/crash33.C
blob: 2ab84df46d3710a8245785943d8fa0fc046fceec (plain)
1
2
3
4
5
6
7
8
// PR c++/28878
// { dg-do compile }

template<int>
void foo()
[
  throw;	// { dg-error "expected" }
}		// { dg-error "expected" }