This repository was archived by the owner on Apr 12, 2025. It is now read-only.

Description
Currently, ctest2 returns an assertion failure when run against a function that contains a variadic function as a parameter. The assertion failure can be found here:
This became an issue while introducing NetBSD CI (rust-lang/libc#3965), as NetBSD contains the following function:
pub fn esetfunc(
cb: ::Option<unsafe extern "C" fn(::c_int, *const ::c_char, ...)>,
) -> ::Option<unsafe extern "C" fn(::c_int, *const ::c_char, ...)>;
For esetfunc to be properly tested, variadic parameters/return values need support.