Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/pr58781.C

raw
1 // PR c++/58781
2 // { dg-do compile { target c++11 } }
3
4 #include <cstddef>
5
6 int
7 operator""_s(const char32_t *a, size_t b)
8 {
9 return 0;
10 }
11
12 void
13 f()
14 {
15 using a = decltype(U"\x1181"_s);
16 using b = decltype(U"\x8111"_s);
17 using c = decltype(U" \x1181"_s);
18 }