Files
qt-creator/tests/auto/cplusplus/cxx11/data/userDefinedLiterals.2.cpp
Christian Kandeler 9926de01c1 CPlusPlus: Add parser support for declarations of user-defined literals
... without a space before the identifier.

Change-Id: I977ffae82eb86f5ae6ea594cba17cc486e63bf6c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-08-07 10:55:43 +00:00

8 lines
112 B
C++

wchar_t operator ""_wc(const wchar_t c) { return c; }
int main()
{
const auto c = L'c'_wc;
return c;
}