zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit ca38b188798cda8377c56cdbd0858df08f8c503f (tree)
parent e073c8a2b1570b24a659ebaeddacf957c15229fa
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Sat, 18 Apr 2020 14:41:25 -0400

rand: ref the decls so they get tested

Diffstat:
Mlib/std/rand.zig | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/lib/std/rand.zig b/lib/std/rand.zig @@ -1123,3 +1123,7 @@ fn testRangeBias(r: *Random, start: i8, end: i8, biased: bool) void { } } } + +test "" { + std.meta.refAllDecls(@This()); +}