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
/
cleanup4.C
blob
ba2d891c949cabb46b5d0fb8f752feedf1830ace
1
// PR 16254
2
// { dg-do compile }
3
// We lost a CLEANUP_POINT_EXPR, leading to a crash destroying temp of A.
4
5
struct A
6
{
7
~A ();
8
A (int);
9
};
10
11
int bar (const A &);
12
13
void
14
foo (int i)
15
{
16
int format[1] = { bar (A (i)) };
17
}