clang/test/DebugInfo/CXX/codeview-template-literal.cpp
raw| 1 | // RUN: %clang -g -std=c++2a -target x86_64-windows-msvc -Wno-gnu-string-literal-operator-template %s -S -emit-llvm -o - | FileCheck %s |
| 2 | |
| 3 | template <typename T, T... cs> struct check; |
| 4 | template <typename T, T... str> int operator""_x() { |
| 5 | return 1; |
| 6 | } |
| 7 | |
| 8 | int b = u8"\"ัะตัั_๐"_x; |
| 9 | // CHECK: _x<char8_t,34,209,130,208,181,209,129,209,130,95,240,144,128,128> |