mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
make this test more portable.
llvm-svn: 36118
This commit is contained in:
parent
40aaa7ff4f
commit
fa6d6d5547
@ -1,5 +1,4 @@
|
||||
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
|
||||
// XFAIL: *
|
||||
|
||||
struct Pass {} ;
|
||||
template<typename PassName>
|
||||
@ -7,11 +6,7 @@ Pass *callDefaultCtor() { return new PassName(); }
|
||||
|
||||
void foo(Pass *(*C)());
|
||||
|
||||
#include <bits/c++config.h>
|
||||
#include <bits/stringfwd.h>
|
||||
#include <bits/char_traits.h>
|
||||
#include <memory> // For allocator.
|
||||
#include <bits/basic_string.h>
|
||||
#include <string>
|
||||
|
||||
bool foo(std::string &X) {
|
||||
return X.empty();
|
||||
|
Loading…
x
Reference in New Issue
Block a user