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

@@ -13,11 +13,10 @@ comptime {
}
// error
// backend=stage2
// target=native
// target=x86_64-linux
//
// :1:1: error: variadic function does not support '.Unspecified' calling convention
// :1:1: note: supported calling conventions: '.C'
// :1:1: error: variadic function does not support '.Inline' calling convention
// :1:1: note: supported calling conventions: '.C'
// :1:1: error: variadic function does not support 'auto' calling convention
// :1:1: note: supported calling conventions: 'x86_64_sysv', 'x86_64_win'
// :1:1: error: variadic function does not support 'inline' calling convention
// :1:1: note: supported calling conventions: 'x86_64_sysv', 'x86_64_win'
// :2:1: error: generic function cannot be variadic