CMake/Tests/ExportImport/Import/Interface/headeronlytest.cpp

17 lines
223 B
C++

#include "headeronly.h"
#ifndef HEADERONLY_DEFINE
#error Expected HEADERONLY_DEFINE
#endif
#ifdef SHAREDLIB_DEFINE
#error Unexpected SHAREDLIB_DEFINE
#endif
int main(int, char**)
{
HeaderOnly ho;
return ho.foo();
}