fwupd/contrib/ci/out-of-tree-link/fwupdplugin.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
179 B
C

#undef NDEBUG
#include <assert.h>
#include <fwupdplugin.h>
int main (void)
{
assert (fu_common_vercmp_full ("1.0", "2.1", FWUPD_VERSION_FORMAT_NUMBER) < 0);
return 0;
}