repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
X86MCInstLower::Lower should only not emit anything to OutStreamer,
[llvm/avr.git]
/
test
/
FrontendC++
/
2004-09-27-CompilerCrash.cpp
blob
f52baaf7058ccb6035f3cf83de87118a21526405
1
// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
2
3
struct
Pass
{} ;
4
template
<
typename PassName
>
5
Pass
*
callDefaultCtor
() {
return new
PassName
(); }
6
7
void
foo
(
Pass
*(*
C
)());
8
9
#include <string>
10
11
bool
foo
(
std
::
string
&
X
) {
12
return
X
.
empty
();
13
}