mirror of
https://github.com/ziglang/zig.git
synced 2024-11-28 16:12:33 +00:00
9 lines
171 B
Zig
9 lines
171 B
Zig
fn f(a: noreturn) void { _ = a; }
|
|
export fn entry() void { f(); }
|
|
|
|
// error
|
|
// backend=stage2
|
|
// target=native
|
|
//
|
|
// :1:6: error: parameter of type 'noreturn' not allowed
|