Fix LDRi12 immediate operand, which was changed to be the second operand in $addrmode...
[oota-llvm.git] / test / FrontendC++ / 2004-09-27-CompilerCrash.cpp
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 }