Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/cpp0x/pr58781.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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 | |
131 | 12 void |
111 | 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 } |