master
 1export fn zig_array(x: [10]u8) void {
 2    try std.testing.expect(std.mem.eql(u8, &x, "1234567890"));
 3}
 4const std = @import("std");
 5export fn zig_return_array() [10]u8 {
 6    return "1234567890".*;
 7}
 8
 9// error
10// target=x86_64-linux
11//
12// :1:21: error: parameter of type '[10]u8' not allowed in function with calling convention 'x86_64_sysv'
13// :1:21: note: arrays are not allowed as a parameter type
14// :5:30: error: return type '[10]u8' not allowed in function with calling convention 'x86_64_sysv'
15// :5:30: note: arrays are not allowed as a return type