A8.6.92 MCR (Encoding A1): if coproc == '101x' then SEE "Advanced SIMD and VFP"
[llvm/stm8.git] / test / FrontendC++ / 2004-09-27-CompilerCrash.cpp
blobf52baaf7058ccb6035f3cf83de87118a21526405
1 // RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
3 struct Pass {} ;
4 template<typename PassName>
5 Pass *callDefaultCtor() { return new PassName(); }
7 void foo(Pass *(*C)());
9 #include <string>
11 bool foo(std::string &X) {
12 return X.empty();