[llvm-commits] CVS: llvm/test/C++Frontend/2004-09-27-CompilerCrash.cpp
Chris Lattner
sabre at nondot.org
Sun Apr 15 23:14:50 PDT 2007
Changes in directory llvm/test/C++Frontend:
2004-09-27-CompilerCrash.cpp updated: 1.4 -> 1.5
---
Log message:
make this test more portable.
---
Diffs of the changes: (+1 -6)
2004-09-27-CompilerCrash.cpp | 7 +------
1 files changed, 1 insertion(+), 6 deletions(-)
Index: llvm/test/C++Frontend/2004-09-27-CompilerCrash.cpp
diff -u llvm/test/C++Frontend/2004-09-27-CompilerCrash.cpp:1.4 llvm/test/C++Frontend/2004-09-27-CompilerCrash.cpp:1.5
--- llvm/test/C++Frontend/2004-09-27-CompilerCrash.cpp:1.4 Sun Apr 15 18:00:46 2007
+++ llvm/test/C++Frontend/2004-09-27-CompilerCrash.cpp Mon Apr 16 01:14:28 2007
@@ -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 @@
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();
More information about the llvm-commits
mailing list