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
Fix all tests that fail with -sanitize=return.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
pr41906.C
blob
321d33aeace98206234b8b092e337da1a570a01d
1
/* { dg-do compile } */
2
/* { dg-options "-fpermissive -w" } */
3
/* We aren't interested in the warning, but in the ICE. */
4
void foo();
5
extern void abort (void);
6
7
void bar()
8
{
9
try { foo(); }
10
catch (...) {}
11
catch (int) {abort ();}
12
}