mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-29 03:57:08 +03:00
50339f595a
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
11 lines
219 B
Zig
11 lines
219 B
Zig
const x = @import("builtin").bogus;
|
|
export fn entry() usize {
|
|
return @sizeOf(@TypeOf(x));
|
|
}
|
|
|
|
// error
|
|
// backend=stage2
|
|
// target=native
|
|
//
|
|
// :1:29: error: root struct of file 'builtin' has no member named 'bogus'
|