1 // { dg-do compile }
2 
a()3 template <int> void a() {
4   typedef struct {
5     void b() try { b; } catch (short) { // { dg-error "invalid use" }
6     }
7   } c;
8 }
9 
10 int
main()11 main() {
12   a<0>();
13 }
14