test: check compile errors when compilation has no errors
This commit is contained in:
committed by
Veikka Tuominen
parent
4e212f1650
commit
325e0f5f0e
@@ -1,10 +1,10 @@
|
||||
const x = @extern(*const fn() callconv(.C) void, .{ .name = "foo" });
|
||||
|
||||
pub fn entry0() void {
|
||||
export fn entry0() void {
|
||||
comptime x();
|
||||
}
|
||||
|
||||
pub fn entry1() void {
|
||||
export fn entry1() void {
|
||||
@call(.always_inline, x, .{});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user