diff options
author | Eric Fiselier <eric@efcs.ca> | 2014-10-27 19:29:32 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2014-10-27 19:29:32 +0000 |
commit | aae76493f0d5d8c2858ea70f950366feb759d9ab (patch) | |
tree | d933ab8131a0cfb59feeb5a6c395f25641207674 /libcxx/test/re/re.regex/re.regex.construct/awk_oct.pass.cpp | |
parent | 910285b238910084aabe786178337b158b82a3bb (diff) | |
download | bcm5719-llvm-aae76493f0d5d8c2858ea70f950366feb759d9ab.tar.gz bcm5719-llvm-aae76493f0d5d8c2858ea70f950366feb759d9ab.zip |
[libcxx] Remove use of uniform initialization from regex tests so that they compile in C++03.
Reviewers: danalbert, jroelofs, mclow.lists
Reviewed By: mclow.lists
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D5957
llvm-svn: 220707
Diffstat (limited to 'libcxx/test/re/re.regex/re.regex.construct/awk_oct.pass.cpp')
-rw-r--r-- | libcxx/test/re/re.regex/re.regex.construct/awk_oct.pass.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/test/re/re.regex/re.regex.construct/awk_oct.pass.cpp b/libcxx/test/re/re.regex/re.regex.construct/awk_oct.pass.cpp index 11fce3fe0df..4b7e5e62929 100644 --- a/libcxx/test/re/re.regex/re.regex.construct/awk_oct.pass.cpp +++ b/libcxx/test/re/re.regex/re.regex.construct/awk_oct.pass.cpp @@ -21,8 +21,8 @@ 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("\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))); } |