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