aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/pr58781.C
blob: 58c972f90f370e37685ecc3b89635d2255674439 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// PR c++/58781
// { dg-do compile { target c++11 } }

#include <cstddef>

int
operator""_s(const char32_t *a, size_t b)
{
  return 0;
}

int
f()
{
  using a = decltype(U"\x1181"_s);
  using b = decltype(U"\x8111"_s);
  using c = decltype(U" \x1181"_s);
}