zig/test/standalone/issue_794/main.zig

8 lines
165 B
Zig
Raw Normal View History

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