brintos

brintos / llvm-project-archived public Read only

0
0
Text · 413 B · 8928b39 Raw
10 lines · cpp
1// RUN: %clang_cc1 -fsyntax-only -verify %s2 3// expected-error@+2{{invalid character ')' in raw string delimiter; use PREFIX( )PREFIX to delimit raw string}}4// expected-error@+1{{expected expression}}5char const *str1 = R")";6 7// expected-error@+2{{invalid newline character in raw string delimiter; use PREFIX( )PREFIX to delimit raw string}}8// expected-error@+1{{expected expression}}9char const* str2 = R"";10