Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.eh/tmpl6.C

raw
1 // { dg-do assemble }
2 // Origin: Mark Mitchell <[email protected]>
3
4 struct S
5 {
6 int i;
7 };
8
9 template <class T>
10 void f ()
11 {
12 try {
13 } catch (S& s) {
14 s.i = 3;
15 }
16 }
17
18 template void f<int>();