cpp_test.cc 499 B

12345678910111213141516171819202122232425
  1. /* Gearman server and library
  2. * Copyright (C) 2008 Brian Aker, Eric Day
  3. * All rights reserved.
  4. *
  5. * Use and distribution licensed under the BSD license. See
  6. * the COPYING file in the parent directory for full text.
  7. */
  8. /*
  9. * @brief C++ dummy test, aka testing C++ linking, etc
  10. */
  11. #include <cstdlib> // For EXIT_SUCCESS
  12. #include <libgearman/gearman.h>
  13. int main(void)
  14. {
  15. gearman_client_st client;
  16. gearman_client_create(&client);
  17. gearman_client_free(&client);
  18. return EXIT_SUCCESS;
  19. }