Skip to content

Commit

Permalink
Speculatively fix test bots
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronBallman committed Nov 8, 2024
1 parent 60972a8 commit b85e5b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/test/C/C2y/n3346.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ void test2(void) {
char str3[] = u8"string literal";
char str4[] = { u8"string literal" };

int str5[] = "this doesn't work"; // expected-error {{array initializer must be an initializer list}}
int str6[] = { "this also doesn't work" }; // expected-error {{incompatible pointer to integer conversion initializing 'int' with an expression of type 'char[23]'}}
float str5[] = "this doesn't work"; // expected-error {{array initializer must be an initializer list}}
float str6[] = { "this also doesn't work" }; // expected-error {{initializing 'float' with an expression of incompatible type 'char[23]'}}

wchar_t str7[] = L"string literal";
wchar_t str8[] = { L"string literal" };
Expand Down

0 comments on commit b85e5b4

Please sign in to comment.