diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-08-28 05:46:17 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-08-28 05:46:17 +0000 |
commit | 1e051aab0cc12bb4a4c1be8d1b1b70537fd0f012 (patch) | |
tree | cccde78e8ef13effb76aaa162ff1901771f7cd1d /libcxx/test/std/re/re.alg/re.alg.search/grep.pass.cpp | |
parent | bc3af7b031b5cb4faea54fbdf7cab2e0dd4d01e1 (diff) | |
download | bcm5719-llvm-1e051aab0cc12bb4a4c1be8d1b1b70537fd0f012.tar.gz bcm5719-llvm-1e051aab0cc12bb4a4c1be8d1b1b70537fd0f012.zip |
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.
llvm-svn: 246275
Diffstat (limited to 'libcxx/test/std/re/re.alg/re.alg.search/grep.pass.cpp')
-rw-r--r-- | libcxx/test/std/re/re.alg/re.alg.search/grep.pass.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/test/std/re/re.alg/re.alg.search/grep.pass.cpp b/libcxx/test/std/re/re.alg/re.alg.search/grep.pass.cpp index fbeddd04e92..a26f81eab52 100644 --- a/libcxx/test/std/re/re.alg/re.alg.search/grep.pass.cpp +++ b/libcxx/test/std/re/re.alg/re.alg.search/grep.pass.cpp @@ -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() |