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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.eh
/
catch13.C
blob
47a0c90b9639d19039aa7c6256e470a7e835eb4e
1
// Copyright (C) 2001 Free Software Foundation, Inc.
2
// Contributed by Jakub Jelinek 2 May 2001 <jakub@redhat.com>
3
4
// Build don't link:
5
// Special g++ Options: -O2
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
}