OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Revert "Fix PR c++/44188"
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.eh
/
flow1.C
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
}