fwupd/contrib/ci/out-of-tree-link/fwupd.c
Mario Limonciello b543446fda Add a CI test to make sure we can always link to fwupdplugin
Based on a patch from Simon McVittie on
https://salsa.debian.org/efi-team/fwupd/-/merge_requests/4

Suggested-by: Simon McVittie <smcv@debian.org>
2021-01-22 14:01:25 -06:00

11 lines
161 B
C

#undef NDEBUG
#include <assert.h>
#include <fwupd.h>
int main (void)
{
assert (fwupd_error_to_string (FWUPD_ERROR_NOTHING_TO_DO) != NULL);
return 0;
}