diff options
| author | Mehdi Amini <mehdi.amini@apple.com> | 2017-04-06 15:56:55 +0000 |
|---|---|---|
| committer | Mehdi Amini <mehdi.amini@apple.com> | 2017-04-06 15:56:55 +0000 |
| commit | ea7d7cd78aec3d2878647fb479bd998ca37f803b (patch) | |
| tree | eece49a8f1078479eefad7b5c5514fd442656fa0 /libcxx | |
| parent | d9831807789a6b5d0b61a850fa8f01572b05a7c0 (diff) | |
| download | bcm5719-llvm-ea7d7cd78aec3d2878647fb479bd998ca37f803b.tar.gz bcm5719-llvm-ea7d7cd78aec3d2878647fb479bd998ca37f803b.zip | |
Revert "Restore Missing awk regex tests. Thanks to dexonsmith for noticing, and proposing this as https://reviews.llvm.org/D16541"
This reverts commit r299652, 32bits MacOS is broken.
llvm-svn: 299656
Diffstat (limited to 'libcxx')
| -rw-r--r-- | libcxx/test/std/re/re.alg/re.alg.match/awk.pass.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/libcxx/test/std/re/re.alg/re.alg.match/awk.pass.cpp b/libcxx/test/std/re/re.alg/re.alg.match/awk.pass.cpp index 378bc142abe..f866929795d 100644 --- a/libcxx/test/std/re/re.alg/re.alg.match/awk.pass.cpp +++ b/libcxx/test/std/re/re.alg/re.alg.match/awk.pass.cpp @@ -26,7 +26,7 @@ int main() { - { +/* { std::cmatch m; const char s[] = "a"; assert(std::regex_match(s, m, std::regex("a", std::regex_constants::awk))); @@ -616,12 +616,13 @@ int main() assert(m.size() == 0); } std::locale::global(std::locale(LOCALE_cs_CZ_ISO8859_2)); - { +*/ { + /* std::cmatch m; const char s[] = "m"; - assert(std::regex_match(s, m, - std::regex("[a[=M=]z]", std::regex_constants::awk))); - assert(m.size() == 1); + assert(std::regex_match(s, m, std::regex("[a[=M=]z]", + std::regex_constants::awk); + assert(m.size() == 1); assert(!m.prefix().matched); assert(m.prefix().first == s); assert(m.prefix().second == m[0].first); @@ -631,8 +632,8 @@ int main() assert(m.length(0) == std::char_traits<char>::length(s)); assert(m.position(0) == 0); assert(m.str(0) == s); - } - { +*/ } +/* { std::cmatch m; const char s[] = "Ch"; assert(std::regex_match(s, m, std::regex("[a[.ch.]z]", @@ -1388,4 +1389,4 @@ int main() assert(m.position(0) == 0); assert(m.str(0) == s); } -} +*/} |

