Fix test that used raw string literals. Doesn't work in C++03

llvm-svn: 361894
This commit is contained in:
Marshall Clow 2019-05-28 23:13:55 +00:00
parent 30116531b8
commit 41d5fdfa91
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ static bool error_range_thrown(const char *pat)
int main(int, char**)
{
assert(error_range_thrown(R"([\w-a])"));
assert(error_range_thrown(R"([a-\w])"));
assert(error_range_thrown("([\\w-a])"));
assert(error_range_thrown("([a-\\w])"));
return 0;
}