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++.robertl
/
eb66.C
blob
00ef6b0b62b84de032e77c738f29b1d627556b9b
1
#include <cassert>
2
#include <iostream>
3
4
int bar ()
5
{
6
throw 100;
7
}
8
9
int main ()
10
{
11
int i = 0;
12
try
13
{
14
i = bar ();
15
}
16
catch (...)
17
{
18
}
19
20
// std::cout << "i = " << i << std::endl;
21
assert (i == 0) ;
22
}
23
24
25
26