main.cpp 500 B

123456789101112131415161718192021222324252627
  1. #include <iostream>
  2. #include "IncA.hpp"
  3. #include "IncB.hpp"
  4. #include "StyleA.hpp"
  5. #include "StyleB.hpp"
  6. #ifdef HAVE_CFG_DEBUG
  7. # include "CfgDebug.hpp"
  8. #endif
  9. #ifdef HAVE_CFG_OTHER
  10. # include "CfgOther.hpp"
  11. #endif
  12. int main(int argv, char** args)
  13. {
  14. StyleA styleA;
  15. StyleB styleB;
  16. IncA incA;
  17. IncB incB;
  18. // Test the TOKEN definition passed on the command line
  19. std::string token(TOKEN);
  20. std::cout << "std::string(TOKEN): \"" << token << "\"\n";
  21. return (token == "hello;") ? 0 : -1;
  22. }