Files
rust/tests/ui/explicit-tail-calls/c-variadic.stderr
Folkert de Vries d28c31a600 c-variadic: check that c-variadic functions cannot be tail-called
as far as I can see this was not tested, though the error message was already implemented
2025-09-13 21:05:12 +02:00

9 lines
205 B
Plaintext

error: c-variadic functions can't be tail-called
--> $DIR/c-variadic.rs:10:14
|
LL | unsafe { become foo(1, 2, 3) }
| ^^^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error