Throw ub error when invoking non-vararg shim with vararg import #9987
Annotations
41 errors
actual output differs from expected:
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`
|
actual output differs from expected:
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`
|
|
Unmatched diagnostics:
tests/fail/function_calls/check_arg_count_abort.rs#L7
Error: Undefined Behavior: incorrect number of arguments for `abort`: got 1, expected 0
|
actual output differs from expected:
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`
|
actual output differs from expected:
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`
|
|
Unmatched diagnostics:
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
|
actual output differs from expected:
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`
|
actual output differs from expected:
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`
|
actual output differs from expected:
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`
|
actual output differs from expected:
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`
|
|
Unmatched diagnostics:
tests/fail/function_calls/check_arg_count_abort.rs#L7
Error: Undefined Behavior: incorrect number of arguments for `abort`: got 1, expected 0
|
actual output differs from expected:
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`
|
actual output differs from expected:
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`
|
|
Unmatched diagnostics:
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
|
actual output differs from expected:
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`
|
actual output differs from expected:
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`
|
actual output differs from expected:
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`
|
actual output differs from expected:
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`
|
|
Unmatched diagnostics:
tests/fail/function_calls/check_arg_count_abort.rs#L7
Error: Undefined Behavior: incorrect number of arguments for `abort`: got 1, expected 0
|
actual output differs from expected:
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`
|
actual output differs from expected:
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`
|
|
Unmatched diagnostics:
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
|
actual output differs from expected:
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`
|
actual output differs from expected:
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`
|
actual output differs from expected:
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`
|
actual output differs from expected:
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`
|
|
Unmatched diagnostics:
tests/fail/function_calls/check_arg_count_abort.rs#L7
Error: Undefined Behavior: incorrect number of arguments for `abort`: got 1, expected 0
|
actual output differs from expected:
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`
|
actual output differs from expected:
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`
|
|
Unmatched diagnostics:
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
|
actual output differs from expected:
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`
|
actual output differs from expected:
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`
|
conclusion
Process completed with exit code 1.
|