headeronlytest.cpp 223 B

1234567891011121314151617
  1. #include "headeronly.h"
  2. #ifndef HEADERONLY_DEFINE
  3. #error Expected HEADERONLY_DEFINE
  4. #endif
  5. #ifdef SHAREDLIB_DEFINE
  6. #error Unexpected SHAREDLIB_DEFINE
  7. #endif
  8. int main(int,char**)
  9. {
  10. HeaderOnly ho;
  11. return ho.foo();
  12. }