baz_cc_test.cc 418 B

123456789101112131415161718
  1. #include <fcntl.h>
  2. #include <unistd.h>
  3. #include <cstdlib>
  4. #include <ostream>
  5. #include "foo/subdir_without_package/baz.pb.h"
  6. #include "foo/subdir_without_package/baz.pb.validate.h"
  7. #include "google/protobuf/io/zero_copy_stream_impl.h"
  8. #include "google/protobuf/text_format.h"
  9. int main(int nargs, char** args) {
  10. pgv::example::foo::Baz baz;
  11. pgv::ValidationMsg msg;
  12. Validate(baz, &msg);
  13. return EXIT_SUCCESS;
  14. }