repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.eh
/
tmpl6.C
blob
d79e8ad29915184c6d3464bafb39752b792d87b4
1
// { dg-do assemble }
2
// Origin: Mark Mitchell <mark@codesourcery.com>
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>();