repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs.
[llvm/zpu.git]
/
test
/
FrontendC++
/
2004-11-27-ExceptionCleanupAssertion.cpp
blob
f3d225e81a603289c625ccdf74d3e947f47e0d30
1
// RUN: %llvmgxx %s -S -o /dev/null
2
3
// This is PR421
4
5
struct
Strongbad
{
6
Strongbad
(
const char
*
str
);
7
~
Strongbad
();
8
operator
const char
*()
const
;
9
};
10
11
void
TheCheat
() {
12
Strongbad
foo
(
0
);
13
Strongbad dirs
[] = {
Strongbad
(
0
) +
1
};
14
}