mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
10 lines
128 B
Zig
10 lines
128 B
Zig
extern fn exit() noreturn;
|
|
|
|
test "foo" {
|
|
comptime {
|
|
exit();
|
|
}
|
|
}
|
|
|
|
// test_error=comptime call of extern function
|