mirror of
https://github.com/ziglang/zig.git
synced 2025-12-13 09:43:09 +00:00
This is all of the expected 0.14.0 progress on #21530, which can now be postponed once this commit is merged. This required rewriting the (un)wrap operations since the original implementations were extremely buggy. Also adds an easy way to retrigger Sema OPV bugs so that I don't have to keep updating #22419 all the time.
12 lines
215 B
Zig
12 lines
215 B
Zig
fn main() void {}
|
|
|
|
// error
|
|
// backend=stage2
|
|
// target=x86_64-linux
|
|
// output_mode=Exe
|
|
//
|
|
// : error: 'main' is not marked 'pub'
|
|
// :1:1: note: declared here
|
|
// : note: called from here
|
|
// : note: called from here
|