Throw ub error when invoking non-vararg shim with vararg import #9987
Annotations
10 errors
Test Miri:
tests/fail/function_calls/check_arg_count_abort.stderr#L2
this line was expected to be `error: Undefined Behavior: incorrect number of arguments for `abort`: got 1, expected 0`
|
Test Miri:
tests/fail/function_calls/check_arg_count_abort.stderr#L6
this line was expected to be ` | ^^^^^^^^ incorrect number of arguments for `abort`: got 1, expected 0`
|
|
Test Miri:
tests/fail/function_calls/check_arg_count_abort.rs#L7
Error: Undefined Behavior: incorrect number of arguments for `abort`: got 1, expected 0
|
Test Miri:
tests/fail/function_calls/check_arg_count_too_few_args.stderr#L2
this line was expected to be `error: Undefined Behavior: incorrect number of arguments for `malloc`: got 0, expected 1`
|
Test Miri:
tests/fail/function_calls/check_arg_count_too_few_args.stderr#L6
this line was expected to be ` | ^^^^^^^^ incorrect number of arguments for `malloc`: got 0, expected 1`
|
|
Test Miri:
tests/fail/function_calls/check_arg_count_too_few_args.rs#L7
Error: Undefined Behavior: incorrect number of arguments for `malloc`: got 0, expected 1
|
Test Miri:
tests/fail/function_calls/check_arg_count_too_many_args.stderr#L2
this line was expected to be `error: Undefined Behavior: incorrect number of arguments for `malloc`: got 2, expected 1`
|
Test Miri:
tests/fail/function_calls/check_arg_count_too_many_args.stderr#L6
this line was expected to be ` | ^^^^^^^^^^^^ incorrect number of arguments for `malloc`: got 2, expected 1`
|
Loading