Files
CMake/Tests/ExportImport/Export/testLib9.c
Brad King 7776ce98c3 Tests: Add cases for usage requirements of linked object libs
Add tests to cover transitive usage requirements on installation and
export of targets that link to object libraries.

Issue: #14778
2018-03-01 09:28:00 -05:00

16 lines
375 B
C

#ifndef testLib9ObjPub_USED
#error "testLib9ObjPub_USED not defined!"
#endif
#ifndef testLib9ObjPriv_USED
#error "testLib9ObjPriv_USED not defined!"
#endif
#ifdef testLib9ObjIface_USED
#error "testLib9ObjIface_USED defined but should not be!"
#endif
int testLib9ObjPub(void);
int testLib9ObjPriv(void);
int testLib9(void)
{
return (testLib9ObjPub() + testLib9ObjPriv());
}