main.cpp 428 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef BOOL_PROP1
  2. #error Expected BOOL_PROP1
  3. #endif
  4. #ifndef BOOL_PROP2
  5. #error Expected BOOL_PROP2
  6. #endif
  7. #ifndef BOOL_PROP3
  8. #error Expected BOOL_PROP3
  9. #endif
  10. #ifndef STRING_PROP1
  11. #error Expected STRING_PROP1
  12. #endif
  13. #ifndef STRING_PROP2
  14. #error Expected STRING_PROP2
  15. #endif
  16. #ifndef STRING_PROP3
  17. #error Expected STRING_PROP3
  18. #endif
  19. #include "iface2.h"
  20. int main(int argc, char **argv)
  21. {
  22. Iface2 if2;
  23. return if2.foo();
  24. }