repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
eh
/
omit-frame-pointer.C
blob
3792e11fe4c90d0213f12ad821d6f09aaa677152
1
// { dg-do run }
2
// { dg-options -fomit-frame-pointer }
3
4
#include <iostream>
5
6
class Bug
7
{
8
};
9
10
int throw_bug()
11
{
12
throw Bug();
13
14
return 0;
15
}
16
17
int main()
18
{
19
try {
20
std::cout << throw_bug();
21
} catch (Bug bug) {
22
};
23
24
return 0;
25
}