We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0400b9a commit c3c4a88Copy full SHA for c3c4a88
clang/test/AST/ByteCode/c.c
@@ -387,3 +387,8 @@ void bar2(void) {
387
int a[2][3][4][5]; // all-note {{array 'a' declared here}}
388
foo2(&a[0][4]); // all-warning {{array index 4 is past the end of the array}}
389
}
390
+
391
+void plainComplex(void) {
392
+ _Complex cd; // all-warning {{_Complex double}}
393
+ cd = *(_Complex *)&(struct { double r, i; }){0.0, 0.0}; // all-warning {{_Complex double}}
394
+}
0 commit comments