Finally get the test suite passing in C++03!!

After months of work there are only 4 tests still failing in C++03.
This patch fixes those tests.

All of the libc++ builders should be green.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@246275 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2015-08-28 05:46:17 +00:00
parent ba3e81f6a8
commit 87813277b3
4 changed files with 12 additions and 3 deletions

View File

@@ -19,6 +19,7 @@
#include <regex>
#include <cassert>
#include "test_macros.h"
#include "test_iterators.h"
extern "C" void LLVMFuzzerTestOneInput(const char *data)
@@ -40,7 +41,10 @@ extern "C" void LLVMFuzzerTestOneInput(const char *data)
void fuzz_tests() // patterns that the fuzzer has found
{
// Raw string literals are a C++11
#if TEST_STD_VER >= 11
LLVMFuzzerTestOneInput(R"XX(Õ)_%()()((\8'_%()_%()_%()_%(()_%()_%()_%(.t;)()¥f()_%()(.)_%;)()!¥f(((()()XX");
#endif
}
int main()