mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-30 19:35:54 +00:00
make this test more portable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36118 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ae88e984bb
commit
2911090cdf
@ -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