diff options
Diffstat (limited to 'test/std/re/re.regex/re.regex.construct/awk_oct.pass.cpp')
| -rw-r--r-- | test/std/re/re.regex/re.regex.construct/awk_oct.pass.cpp | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/test/std/re/re.regex/re.regex.construct/awk_oct.pass.cpp b/test/std/re/re.regex/re.regex.construct/awk_oct.pass.cpp index 4b7e5e6292942..3f1eaf6b959ef 100644 --- a/test/std/re/re.regex/re.regex.construct/awk_oct.pass.cpp +++ b/test/std/re/re.regex/re.regex.construct/awk_oct.pass.cpp @@ -16,13 +16,14 @@  #include <regex>  #include <cassert> +#include "test_macros.h" -int main()  +int main()  {      using std::regex_constants::awk;      assert(std::regex_match("\4", std::regex("\\4", awk)));      assert(std::regex_match("\41", std::regex("\\41", awk)));      assert(std::regex_match("\141", std::regex("\\141", awk))); -    assert(std::regex_match("\1411", std::regex("\\1411", awk))); +    assert(std::regex_match("\141" "1", std::regex("\\1411", awk)));  }  | 
