Searched refs:char32_t (Results 1 - 25 of 86) sorted by relevance

1234

/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/
H A Dutf-typedef-cxx98.C2 /* Ensure that a typedef to char16_t/char32_t is fine in c++98. */
7 typedef unsigned int char32_t; typedef
H A Dutf-typedef-cxx0x.C2 /* Ensure that a typedef to char16_t/char32_t issues an error in c++0x. */
6 typedef unsigned int char32_t; /* { dg-error "redeclaration" } */ typedef
H A Dutf32-4.C2 /* Expected errors for char32_t character constants. */
5 const static char32_t c0 = U''; /* { dg-error "empty character" } */
6 const static char32_t c1 = U'ab'; /* { dg-warning "constant too long" } */
7 const static char32_t c2 = U'\U00064321';
9 const static char32_t c3 = 'a';
10 const static char32_t c4 = u'a';
11 const static char32_t c5 = u'\u2029';
12 const static char32_t c6 = u'\U00064321'; /* { dg-warning "constant too long" } */
13 const static char32_t c7 = L'a';
14 const static char32_t c
[all...]
H A Dutf-typespec.C2 /* Ensure that type specifiers are not allowed for char16_t/char32_t. */
6 signed char32_t c1; /* { dg-error "signed" } */
8 unsigned char32_t c3; /* { dg-error "unsigned" } */
12 short char32_t c6; /* { dg-error "short" } */
13 long char32_t c7; /* { dg-error "long" } */
16 signed short char32_t c9; /* { dg-error "signed" } */
18 signed long char32_t cb; /* { dg-error "signed" } */
20 unsigned short char32_t cd; /* { dg-error "unsigned" } */
22 unsigned long char32_t cf; /* { dg-error "unsigned" } */
H A Dutf32-1.C2 /* Test the support for char32_t character constants. */
8 const static char32_t c0 = U'a';
9 const static char32_t c1 = U'\0';
10 const static char32_t c2 = U'\u0024';
11 const static char32_t c3 = U'\u2029';
12 const static char32_t c4 = U'\U00064321';
21 if (sizeof (U'a') != sizeof (char32_t))
23 if (sizeof (U'\0') != sizeof (char32_t))
25 if (sizeof (U'\u0024') != sizeof (char32_t))
27 if (sizeof (U'\u2029') != sizeof (char32_t))
[all...]
H A Dutf-mangle.C6 void f1 (char32_t c) {}
8 void f3 (char32_t *s) {}
H A Dutf-type.C13 if (sizeof (__CHAR32_TYPE__) != sizeof (char32_t))
H A Dutf-rtti.C2 /* Ensure that typeinfo data is generated for char16_t/char32_t. */
10 typeid(char32_t).name();
H A Dutf-array-short-wchar.C2 /* Expected errors for char16_t/char32_t string literals. */
22 const char32_t s32_0[] = "ab"; /* { dg-error "from non-wide" } */
23 const char32_t s32_1[] = u"ab"; /* { dg-error "from incompatible" } */
24 const char32_t s32_2[] = U"ab";
25 const char32_t s32_3[] = L"ab"; /* { dg-error "from incompatible" } */
27 const char32_t s32_4[0] = U"ab"; /* { dg-error "chars is too long" } */
28 const char32_t s32_5[1] = U"ab"; /* { dg-error "chars is too long" } */
29 const char32_t s32_6[2] = U"ab"; /* { dg-error "chars is too long" } */
30 const char32_t s32_7[3] = U"ab";
31 const char32_t s32_
[all...]
H A Dutf-array.C2 /* Expected errors for char16_t/char32_t string literals. */
22 const char32_t s32_0[] = "ab"; /* { dg-error "from non-wide" } */
23 const char32_t s32_1[] = u"ab"; /* { dg-error "from incompatible" } */
24 const char32_t s32_2[] = U"ab";
25 const char32_t s32_3[] = L"ab"; /* { dg-error "from incompatible" } */
27 const char32_t s32_4[0] = U"ab"; /* { dg-error "chars is too long" } */
28 const char32_t s32_5[1] = U"ab"; /* { dg-error "chars is too long" } */
29 const char32_t s32_6[2] = U"ab"; /* { dg-error "chars is too long" } */
30 const char32_t s32_7[3] = U"ab";
31 const char32_t s32_
[all...]
H A Dutf32-3.C2 /* Test concatenation of char32_t* string literals. */
8 const static char32_t *s0 = U"a" U"b";
10 const static char32_t *s1 = U"a" "b";
11 const static char32_t *s2 = "a" U"b";
12 const static char32_t *s3 = U"a" "\u2029";
13 const static char32_t *s4 = "\u2029" U"b";
14 const static char32_t *s5 = U"a" "\U00064321";
15 const static char32_t *s6 = "\U00064321" U"b";
24 if (sizeof ((U"a" U"b")[0]) != sizeof (char32_t))
26 if (sizeof ((U"a" "b")[0]) != sizeof (char32_t))
[all...]
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dudlit-nosuffix-neg.C3 char32_t
4 operator"" (char32_t C) // { dg-error "expected suffix identifier" }
H A Dudlit-member-neg.C7 int operator"" _Bar(char32_t); // { dg-error "must be a non-member function" }
14 Foo::operator"" _Bar(char32_t) // { dg-error "must be a non-member function" }
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dutf32-4.c2 /* Expected errors for char32_t character constants. */
6 typedef __CHAR32_TYPE__ char32_t; typedef
8 char32_t c0 = U''; /* { dg-error "empty character" } */
9 char32_t c1 = U'ab'; /* { dg-warning "constant too long" } */
10 char32_t c2 = U'\U00064321';
12 char32_t c3 = 'a';
13 char32_t c4 = u'a';
14 char32_t c5 = u'\u2029';
15 char32_t c6 = u'\U00064321'; /* { dg-warning "constant too long" } */
16 char32_t c
[all...]
H A Dutf-type.c8 typedef __CHAR32_TYPE__ char32_t; typedef
16 if (sizeof (char32_t) != sizeof (U'a'))
H A Dutf32-1.c2 /* Test the support for char32_t character constants. */
6 typedef __CHAR32_TYPE__ char32_t; typedef
10 char32_t c0 = U'a';
11 char32_t c1 = U'\0';
12 char32_t c2 = U'\u0024';
13 char32_t c3 = U'\u2029';
14 char32_t c4 = U'\U00064321';
23 if (sizeof (U'a') != sizeof (char32_t))
25 if (sizeof (U'\0') != sizeof (char32_t))
27 if (sizeof (U'\u0024') != sizeof (char32_t))
[all...]
H A Dutf-array-short-wchar.c2 /* Expected errors for char16_t/char32_t string literals. */
10 typedef __CHAR32_TYPE__ char32_t; typedef
28 const char32_t s32_0[] = "ab"; /* { dg-error "from non-wide" } */
29 const char32_t s32_1[] = u"ab"; /* { dg-error "from incompatible" } */
30 const char32_t s32_2[] = U"ab";
31 const char32_t s32_3[] = L"ab"; /* { dg-error "from incompatible" } */
33 const char32_t s32_4[0] = U"ab"; /* { dg-warning "chars is too long" } */
34 const char32_t s32_5[1] = U"ab"; /* { dg-warning "chars is too long" } */
35 const char32_t s32_6[2] = U"ab"; /* { dg-warning "chars is too long" "" { target "m32c-*-*" } } */
36 const char32_t s32_
[all...]
H A Dutf-array.c2 /* Expected errors for char16_t/char32_t string literals. */
10 typedef __CHAR32_TYPE__ char32_t; typedef
28 const char32_t s32_0[] = "ab"; /* { dg-error "from non-wide" } */
29 const char32_t s32_1[] = u"ab"; /* { dg-error "from incompatible" } */
30 const char32_t s32_2[] = U"ab";
31 const char32_t s32_3[] = L"ab"; /* { dg-error "from incompatible" "" { target { ! wchar_t_char32_t_compatible } } } */
33 const char32_t s32_4[0] = U"ab"; /* { dg-warning "chars is too long" } */
34 const char32_t s32_5[1] = U"ab"; /* { dg-warning "chars is too long" } */
35 const char32_t s32_6[2] = U"ab"; /* { dg-warning "chars is too long" "" { target "m32c-*-*" } } */
36 const char32_t s32_
[all...]
H A Dutf32-2.c2 /* Test the support for char32_t* string constants. */
6 typedef __CHAR32_TYPE__ char32_t; typedef
10 char32_t *s0 = U"ab";
11 char32_t *s1 = U"a\u0024";
12 char32_t *s2 = U"a\u2029";
13 char32_t *s3 = U"a\U00064321";
H A Dutf32-3.c2 /* Test concatenation of char32_t* string literals. */
6 typedef __CHAR32_TYPE__ char32_t; typedef
10 char32_t *s0 = U"a" U"b";
12 char32_t *s1 = U"a" "b";
13 char32_t *s2 = "a" U"b";
14 char32_t *s3 = U"a" "\u2029";
15 char32_t *s4 = "\u2029" U"b";
16 char32_t *s5 = U"a" "\U00064321";
17 char32_t *s6 = "\U00064321" U"b";
26 if (sizeof ((U"a" U"b")[0]) != sizeof (char32_t))
[all...]
/haiku-buildtools/gcc/libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/char32_t/
H A D1.cc24 template class std::basic_string<char32_t>;
/haiku-buildtools/gcc/libstdc++-v3/testsuite/21_strings/char_traits/requirements/explicit_instantiation/char32_t/
H A D1.cc24 template class std::char_traits<char32_t>;
/haiku-buildtools/gcc/libstdc++-v3/testsuite/ext/vstring/requirements/explicit_instantiation/char32_t/
H A D1.cc28 template class __gnu_cxx::__versa_string<char32_t, std::char_traits<char32_t>,
29 std::allocator<char32_t>,
32 template class __gnu_cxx::__versa_string<char32_t, std::char_traits<char32_t>,
33 std::allocator<char32_t>,
/haiku-buildtools/gcc/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char32_t/
H A D1.cc24 template class std::experimental::basic_string_view<char32_t>;
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/requirements/
H A D1.cc35 is_base_of<codecvt<char32_t>, std::codecvt_utf16<char32_t>>::value,
36 "codecvt_utf16<char32_t> has wrong base class");

Completed in 201 milliseconds

1234