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
PR debug/43942
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
eh
/
cond3.C
1
// PR c++/24996
2
// Bug: the cleanup for the A temporary was confusing the gimplifier
3
// because of the TRY_CATCH_EXPR for the exception object.
4
5
struct A { A(int); ~A(); };
6
struct B { B(A); ~B(); };
7
void foo(bool b)
8
{
9
throw b ? B(1) : B(1);
10
}