Lines Matching full:illegal
8 wchar_t const *a = L"?????"; // expected-error {{illegal character encoding in string literal}}
10 char16_t const *b = u"?????"; // expected-error {{illegal character encoding in string literal}}
11 char32_t const *c = U"?????"; // expected-error {{illegal character encoding in string literal}}
12 wchar_t const *d = LR"(?????)"; // expected-error {{illegal character encoding in string literal}}
13 char16_t const *e = uR"(?????)"; // expected-error {{illegal character encoding in string literal}}
14 char32_t const *f = UR"(?????)"; // expected-error {{illegal character encoding in string literal}}
16 char const *g = "?????"; // expected-warning {{illegal character encoding in string literal}}
17 char const *h = u8"?????"; // expected-error {{illegal character encoding in string literal}}
18 char const *i = R"(?????)"; // expected-warning {{illegal character encoding in string literal}}
22 wchar_t const *a = L"foo ?????"; // expected-error {{illegal character encoding in string literal}}
24 char16_t const *b = u"foo ?????"; // expected-error {{illegal character encoding in string literal}}
25 char32_t const *c = U"foo ?????"; // expected-error {{illegal character encoding in string literal}}
26 wchar_t const *d = LR"(foo ?????)"; // expected-error {{illegal character encoding in string literal}}
27 char16_t const *e = uR"(foo ?????)"; // expected-error {{illegal character encoding in string literal}}
28 char32_t const *f = UR"(foo ?????)"; // expected-error {{illegal character encoding in string literal}}
30 char const *g = "foo ?????"; // expected-warning {{illegal character encoding in string literal}}
31 char const *h = u8"foo ?????"; // expected-error {{illegal character encoding in string literal}}
32 char const *i = R"(foo ?????)"; // expected-warning {{illegal character encoding in string literal}}