Files
qt-creator/tests/auto/cplusplus/cxx11/data/rawstringliterals.cpp
Nikolai Kosjar 8eb30feb03 C++: Add basic tests for raw string literals
Change-Id: I9ca253a6a2296912eafe139ce53f4f9779097248
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-09-23 07:22:01 +00:00

12 lines
131 B
C++

class String;
void f()
{
String r1 = R"(raw text)";
String r2 = R"(
raw text line1
raw text line2
)";
String other;
}