1 // { dg-do compile { target c++11 } }
2 // { dg-require-effective-target stdint_types }
3 // { dg-skip-if "requires hosted libstdc++ for string in udlit-string-literal.h" { ! hostedlib } }
6 #include "udlit-string-literal.h"
8 using namespace my_string_literals;
10 decltype("Hello, World!"s) s;
11 #if !__cpp_char8_t == !__cpp_lib_char8_t
12 decltype(u8"Hello, World!"s) s8;
14 decltype(L"Hello, World!"s) ws;
15 decltype(u"Hello, World!"s) s16;
16 decltype(U"Hello, World!"s) s32;