mirror of
https://github.com/ziglang/zig.git
synced 2025-12-25 15:43:06 +00:00
10 lines
246 B
Zig
10 lines
246 B
Zig
const x = @import("builtin").bogus;
|
|
export fn entry() usize { return @sizeOf(@TypeOf(x)); }
|
|
|
|
// error
|
|
// backend=stage2
|
|
// target=native
|
|
//
|
|
// :1:29: error: struct 'builtin.builtin' has no member named 'bogus'
|
|
// :1:1: note: struct declared here
|