Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:initializing

6   char a3[] = u"a"; // expected-error{{initializing char array with wide string literal}}
7 char a4[] = U"a"; // expected-error{{initializing char array with wide string literal}}
8 char a5[] = L"a"; // expected-error{{initializing char array with wide string literal}}
10 wchar_t b1[] = "a"; // expected-error{{initializing wide char array with non-wide string literal}}
11 wchar_t b2[] = u8"a"; // expected-error{{initializing wide char array with non-wide string literal}}
12 wchar_t b3[] = u"a"; // expected-error{{initializing wide char array with incompatible wide string literal}}
13 wchar_t b4[] = U"a"; // expected-error{{initializing wide char array with incompatible wide string literal}}
16 char16_t c1[] = "a"; // expected-error{{initializing wide char array with non-wide string literal}}
17 char16_t c2[] = u8"a"; // expected-error{{initializing wide char array with non-wide string literal}}
19 char16_t c4[] = U"a"; // expected-error{{initializing wide char array with incompatible wide string literal}}
20 char16_t c5[] = L"a"; // expected-error{{initializing wide char array with incompatible wide string literal}}
22 char32_t d1[] = "a"; // expected-error{{initializing wide char array with non-wide string literal}}
23 char32_t d2[] = u8"a"; // expected-error{{initializing wide char array with non-wide string literal}}
24 char32_t d3[] = u"a"; // expected-error{{initializing wide char array with incompatible wide string literal}}
26 char32_t d5[] = L"a"; // expected-error{{initializing wide char array with incompatible wide string literal}}