Files
zig/test/cases/compile_errors/deprecated.zig
Loris Cro 25790e95f1 @deprecated: remove per-module flag in Build
This implementation looks at the builder of each
module in the build graph instead of storing a
boolean for each module.
2025-02-26 14:41:33 -05:00

10 lines
128 B
Zig

const bad = @deprecated(42);
pub export fn foo() usize {
return bad;
}
// error
//
// :1:13: error: found deprecated code