test: update for CallingConvention changes

This also includes some compiler and std changes to correct error
messages which weren't properly updated before.
This commit is contained in:
mlugg
2024-10-13 17:56:47 +01:00
parent ec19086aa0
commit 4be0cf30fc
41 changed files with 154 additions and 195 deletions

View File

@@ -14,8 +14,7 @@ export fn entry() usize {
}
// error
// backend=stage2
// target=native
// target=x86_64-linux
//
// :1:38: error: expected type 'fn (i32) i32', found 'fn (i32) callconv(.C) i32'
// :1:38: note: calling convention 'C' cannot cast into calling convention 'Unspecified'
// :1:38: error: expected type 'fn (i32) i32', found 'fn (i32) callconv(.c) i32'
// :1:38: note: calling convention 'x86_64_sysv' cannot cast into calling convention 'auto'