diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2016-01-19 00:50:37 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2016-01-19 00:50:37 +0000 |
commit | b414b2f54b0acaddefdb4a36ec19e01394cec180 (patch) | |
tree | 8048d1fc5beca61c2d2caa3ac3cbecb7090ce087 /libcxx/test/std/re/re.regex/re.regex.construct | |
parent | 848da137186c745e105b4937e68cc5d6edd2d30c (diff) | |
download | bcm5719-llvm-b414b2f54b0acaddefdb4a36ec19e01394cec180.tar.gz bcm5719-llvm-b414b2f54b0acaddefdb4a36ec19e01394cec180.zip |
Fix PR#26175. Thanks to Josh Petrie for the report and the patch. Reviewed as http://reviews.llvm.org/D16262
llvm-svn: 258107
Diffstat (limited to 'libcxx/test/std/re/re.regex/re.regex.construct')
-rw-r--r-- | libcxx/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp b/libcxx/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp index 4da4d957a88..9459cd74ccf 100644 --- a/libcxx/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp +++ b/libcxx/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp @@ -33,6 +33,7 @@ int main() { assert(error_escape_thrown("[\\a]")); assert(error_escape_thrown("\\a")); + assert(error_escape_thrown("\\")); assert(error_escape_thrown("[\\e]")); assert(error_escape_thrown("\\e")); |