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
/
cleanup5.C
blob
e74d06793ae498e45a6f26c0f7d3427711507c09
1
// PR 17907
2
// { dg-do compile }
3
// { dg-options "" }
4
// We lost a CLEANUP_POINT_EXPR, leading to a crash destroying temp of A.
5
6
7
struct String {
8
~String();
9
int size() const;
10
};
11
struct CodingSystem {
12
String convertOut() const;
13
};
14
void inputOpened(CodingSystem *outputCodingSystem)
15
{
16
char filePath[outputCodingSystem->convertOut().size()];
17
}