zig/test/standalone/issue_794/main.zig
Eric Joldasov d884d7050e
all: replace comptime try with try comptime
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
2023-06-13 23:46:58 +06:00

7 lines
169 B
Zig

const c = @cImport(@cInclude("foo.h"));
const std = @import("std");
const testing = std.testing;
test "c import" {
try comptime testing.expect(c.NUMBER == 1234);
}