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
/
flow1.C
blob
d48a896b2e7a0580d06c8f7b9eeea84c297e7d50
1
// { dg-do run }
2
#include <stdio.h>
3
4
int bar ()
5
{
6
throw 100;
7
return 0;
8
}
9
10
int main ()
11
{
12
int i = 0; // this gets deleted after flow analysis
13
try
14
{
15
i = bar ();
16
}
17
catch (...)
18
{
19
}
20
21
printf ("i = %d\n", i);
22
return i;
23
}