#zig build-obj {
--name test -fno-emit-bin
-target aarch64-native
-Mroot=test.zig
#}

#write test.zig {
export fn entry1() callconv(.{ .x86_64_interrupt = .{} }) void {}
export fn entry2() callconv(.{ .x86_interrupt = .{} }) void {}
export fn entry3() callconv(.avr_interrupt) void {}
#}
#update
#check errors {
test.zig:1:30: error: calling convention 'x86_64_interrupt' only available on architectures 'x86_64'
test.zig:2:30: error: calling convention 'x86_interrupt' only available on architectures 'x86', 'x86c16'
test.zig:3:30: error: calling convention 'avr_interrupt' only available on architectures 'avr'
#}
