1 // PR c++/28878 2 // { dg-do compile } 3 4 template<int> 5 void foo() 6 [ 7 throw; 8 } 9 10 // { dg-prune-output "expected" } 11 // { dg-prune-output "array bound" } 12