| 1 | fn foo(...) void {} |
| 2 | inline fn foo2(...) void {} |
| 3 | |
| 4 | comptime { |
| 5 | _ = foo; |
| 6 | } |
| 7 | comptime { |
| 8 | _ = foo2; |
| 9 | } |
| 10 | |
| 11 | // error |
| 12 | // target=x86_64-linux |
| 13 | // |
| 14 | // :1:8: error: variadic function does not support 'auto' calling convention |
| 15 | // :1:8: note: supported calling conventions: 'x86_64_sysv', 'x86_64_x32', 'x86_64_win' |
| 16 | // :2:16: error: variadic function does not support 'inline' calling convention |
| 17 | // :2:16: note: supported calling conventions: 'x86_64_sysv', 'x86_64_x32', 'x86_64_win' |