[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Lexer / cxx0x_raw_string_delim_length.cpp
blobb9f6d13ab743a577f4a528095f6bee130544808d
1 // RUN: %clang_cc1 -std=c++11 -verify %s
3 const char *str1 = R"(abcdef)"; // ok
4 const char *str2 = R"foo()foo"; // ok
5 const char *str3 = R"()"; // ok
6 // FIXME: recover better than this.
7 const char *str4 = R"abcdefghijkmnopqrstuvwxyz(abcdef)abcdefghijkmnopqrstuvwxyz"; // expected-error {{raw string delimiter longer than 16 characters}} expected-error {{expected expression}}