aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-10-07 23:53:17 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-10-08 00:15:16 -0400
commita55db08a7b6326ea0d84f13acd9312d435c10136 (patch)
treea04a39fa2ca8c185a697707bb0324a4a188556c5 /lib/std/debug.zig
parentffc0c26b27b14fbaedc0def018fd962a93e420bc (diff)
downloadzig-a55db08a7b6326ea0d84f13acd9312d435c10136.tar.gz
zig-a55db08a7b6326ea0d84f13acd9312d435c10136.zip
generated docs contain generic instantiations and comptime calls
Diffstat (limited to 'lib/std/debug.zig')
-rw-r--r--lib/std/debug.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig
index 25868d67a1..a6bc0fedf3 100644
--- a/lib/std/debug.zig
+++ b/lib/std/debug.zig
@@ -2439,3 +2439,8 @@ pub fn dumpStackPointerAddr(prefix: []const u8) void {
);
std.debug.warn("{} sp = 0x{x}\n", prefix, sp);
}
+
+// Reference everything so it gets tested.
+test "" {
+ _ = leb;
+}