http://llvm.org/bugs/show_bug.cgi?id=17705
Bug ID: 17705
Summary: bad error message on incorrect string literal
Product: clang
Version: 3.2
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
linefeed should not be printed inside quotes. Instead error should be something
like "invalid newline character in raw string delimiter".
5.cpp:1:21: error: invalid character '
' character in raw string delimiter; use PREFIX( )PREFIX to delimit raw string
char const* a = R"";
^
5.cpp:1:17: error: expected expression
char const* a = R"";
^
2 errors generated.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs