Merge remote-tracking branch 'origin/master' into llvm16

This commit is contained in:
Andrew Kelley
2023-03-16 17:33:24 -07:00
392 changed files with 26277 additions and 18328 deletions

View File

@@ -3948,4 +3948,12 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
\\}
});
}
cases.add("extern array of unknown length",
\\extern int foo[];
, &[_][]const u8{
\\const foo: [*c]c_int = @extern([*c]c_int, .{
\\ .name = "foo",
\\});
});
}