Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/udlit-utf8char.C

raw
1 // { dg-do compile { target c++17 } }
2
3 typedef decltype(u8'c') u8_char_t;
4
5 constexpr int
6 operator""_foo(u8_char_t c)
7 { return c * 100; }
8
9 auto cc = u8'8'_foo;