// SPDX-FileCopyrightText: © 2026 Jeffrey C. Ollie // SPDX-License-Identifier: MIT //! Nothing is tested here beyond compiling: the module is generated, and a //! declaration nobody references is never analyzed, so without this a schema //! that generates broken Zig would go unnoticed until a dependent imported //! the broken part. const std = @import("std"); const informacast = @import("informacast"); test "the generated module compiles" { // What `std.testing.refAllDecls` does, with room for several thousand // declarations rather than its default quota of a thousand branches. const decls = comptime std.meta.declarations(informacast); @setEvalBranchQuota(decls.len * 10); inline for (decls) |name| _ = &@field(informacast, name); }