blob: 4eb7701ba4050bbb15dc4996df2d3ad0126897d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
const std = @import("std");
const expect = std.testing.expect;
fn A(
comptime T: type,
comptime destroycb: ?*const fn (?*T) callconv(.C) void,
) !void {
try expect(destroycb == null);
}
test {
try A(u32, null);
}
|