You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clang/test/C/C2y/n3346.c
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -49,8 +49,8 @@ void test2(void) {
49
49
charstr3[] =u8"string literal";
50
50
charstr4[] = { u8"string literal" };
51
51
52
-
intstr5[] ="this doesn't work"; // expected-error {{array initializer must be an initializer list}}
53
-
intstr6[] = { "this also doesn't work" }; // expected-error {{incompatible pointer to integer conversion initializing 'int' with an expression of type 'char[23]'}}
52
+
floatstr5[] ="this doesn't work"; // expected-error {{array initializer must be an initializer list}}
53
+
floatstr6[] = { "this also doesn't work" }; // expected-error {{initializing 'float' with an expression of incompatible type 'char[23]'}}
0 commit comments