rust/tests/ui/c-variadic
Jacob Pratt c96c80250e
Rollup merge of #144379 - folkertdev:c-variadic-same-program-multiple-abis, r=RalfJung
test using multiple c-variadic ABIs in the same program

tracking issue: https://github.com/rust-lang/rust/issues/100189

Check that multiple c-variadic calling conventions can be used in the same program.

Clang and gcc reject defining functions with a non-default calling convention and a variable
argument list, so C programs that use multiple c-variadic calling conventions are unlikely
to come up. Here we validate that our codegen backends do in fact generate correct code.

(CI will not run this test because it runs on aarch64, I would like to at least test that this runs on windows)

try-job: `x86_64-gnu`
try-job: `x86_64-msvc-*`
try-job: `x86_64-apple-2`
2025-07-26 22:42:34 -04:00
..
feature-gate-extended_varargs_abi_support.rs variadic functions: remove list of supported ABIs from error 2025-06-13 18:10:06 +02:00
feature-gate-extended_varargs_abi_support.stderr variadic functions: remove list of supported ABIs from error 2025-06-13 18:10:06 +02:00
fn-item-diagnostic-issue-69232.rs bless the tests and add a new one 2024-11-29 00:45:14 +01:00
fn-item-diagnostic-issue-69232.stderr bless the tests and add a new one 2024-11-29 00:45:14 +01:00
issue-32201.rs bless the tests and add a new one 2024-11-29 00:45:14 +01:00
issue-32201.stderr bless the tests and add a new one 2024-11-29 00:45:14 +01:00
issue-86053-1.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
issue-86053-1.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
issue-86053-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86053-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
same-program-multiple-abis.rs test using multiple c-variadic ABIs in the same program 2025-07-26 12:26:05 +02:00
variadic-ffi-1.rs add codegen test for variadics (also replacing some existing does-this-build tests) 2025-07-23 14:19:14 +02:00
variadic-ffi-1.stderr add codegen test for variadics (also replacing some existing does-this-build tests) 2025-07-23 14:19:14 +02:00
variadic-ffi-4.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
variadic-ffi-4.stderr best_blame_constraint: don't filter constraints by sup SCC 2025-01-06 16:08:29 -08:00
variadic-ffi-6.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
variadic-ffi-6.stderr Rollup merge of #117914 - estebank:issue-85843, r=wesleywiser 2023-12-12 17:40:53 +01:00
variadic-ffi-no-fixed-args.rs Update Tests 2024-04-16 18:15:37 -04:00
variadic-unreachable-arg-error.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00