comparison gcc/testsuite/g++.dg/cpp0x/pr58781.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
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 int
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 }