Files
zig/test/cases/compile_errors/noinline_fn_cc_inline.zig
mlugg 4be0cf30fc test: update for CallingConvention changes
This also includes some compiler and std changes to correct error
messages which weren't properly updated before.
2024-10-19 19:15:23 +01:00

12 lines
189 B
Zig

noinline fn foo() callconv(.@"inline") void {}
comptime {
_ = foo;
}
// error
// backend=stage2
// target=native
//
// :1:29: error: 'noinline' function cannot have callconv 'inline'