diff options
author | Chris Lattner <sabre@nondot.org> | 2007-04-16 06:14:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-04-16 06:14:28 +0000 |
commit | 2911090cdf2ffe48db902b57a09d5ab1c379f136 (patch) | |
tree | 924e67e9e79bf5cc18be9ad72bdf7b3a83f2a0c0 /test | |
parent | ae88e984bb96021dfd24db09665bbfe36a063a38 (diff) | |
download | external_llvm-2911090cdf2ffe48db902b57a09d5ab1c379f136.zip external_llvm-2911090cdf2ffe48db902b57a09d5ab1c379f136.tar.gz external_llvm-2911090cdf2ffe48db902b57a09d5ab1c379f136.tar.bz2 |
make this test more portable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36118 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/C++Frontend/2004-09-27-CompilerCrash.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/C++Frontend/2004-09-27-CompilerCrash.cpp b/test/C++Frontend/2004-09-27-CompilerCrash.cpp index b997616..f507c23 100644 --- a/test/C++Frontend/2004-09-27-CompilerCrash.cpp +++ b/test/C++Frontend/2004-09-27-CompilerCrash.cpp @@ -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(); |