2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / udlit-string-literal.C
blob734a0f38ad062e4d2ca789091e1eb31de647bf12
1 // { dg-do compile { target c++11 } }
2 // { dg-require-effective-target stdint_types }
3 // PR c++/55582
5 #include "udlit-string-literal.h"
7 using namespace my_string_literals;
9 decltype("Hello, World!"s) s;
10 decltype(u8"Hello, World!"s) s8;
11 decltype(L"Hello, World!"s) ws;
12 decltype(u"Hello, World!"s) s16;
13 decltype(U"Hello, World!"s) s32;