brintos

brintos / llvm-project-archived public Read only

0
0
Text · 357 B · 49827f7 Raw
10 lines · cpp
1// RUN: %clang -g -std=c++2a -target x86_64-windows-msvc -Wno-gnu-string-literal-operator-template %s -S -emit-llvm -o - | FileCheck %s2 3template <typename T, T... cs> struct check;4template <typename T, T... str> int operator""_x() {5  return 1;6}7 8int b = u8"\"тест_𐀀"_x;9// CHECK: _x<char8_t,34,209,130,208,181,209,129,209,130,95,240,144,128,128>10