mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
13 lines
179 B
Zig
13 lines
179 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
|