mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +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
|
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
|
||||||
// XFAIL: *
|
|
||||||
|
|
||||||
struct Pass {} ;
|
struct Pass {} ;
|
||||||
template<typename PassName>
|
template<typename PassName>
|
||||||
@ -7,11 +6,7 @@ Pass *callDefaultCtor() { return new PassName(); }
|
|||||||
|
|
||||||
void foo(Pass *(*C)());
|
void foo(Pass *(*C)());
|
||||||
|
|
||||||
#include <bits/c++config.h>
|
#include <string>
|
||||||
#include <bits/stringfwd.h>
|
|
||||||
#include <bits/char_traits.h>
|
|
||||||
#include <memory> // For allocator.
|
|
||||||
#include <bits/basic_string.h>
|
|
||||||
|
|
||||||
bool foo(std::string &X) {
|
bool foo(std::string &X) {
|
||||||
return X.empty();
|
return X.empty();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user