mirror of
https://github.com/ziglang/zig.git
synced 2025-12-10 00:03:10 +00:00
12 lines
249 B
Zig
12 lines
249 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'
|
|
// note: struct declared here
|