Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/cpp1z/udlit-utf8char.C @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
// { dg-do compile { target c++17 } } typedef decltype(u8'c') u8_char_t; constexpr int operator""_foo(u8_char_t c) { return c * 100; } auto cc = u8'8'_foo;