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
/
catch13.C
blob
2e0fdc8e7b5ba7cd7ce6dc855300780fc88294a2
1
// { dg-do assemble }
2
// { dg-options "-O2" }
3
// Copyright (C) 2001 Free Software Foundation, Inc.
4
// Contributed by Jakub Jelinek 2 May 2001 <jakub@redhat.com>
5
6
7
struct A;
8
9
A *foo();
10
11
struct A {
12
A *a() { try { return foo(); } catch (...) {} }
13
void b();
14
void c();
15
};
16
17
void A::b() {
18
a()->c();
19
}