aboutsummaryrefslogtreecommitdiff
path: root/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp')
-rw-r--r--test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp b/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp
index 4da4d957a88a..9459cd74ccff 100644
--- a/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp
+++ b/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"));