pathprog.cpp 433 B

1234567891011121314151617
  1. #include"com/mesonbuild/simple.pb.h"
  2. #include"com/mesonbuild/subsite/complex.pb.h"
  3. #include<memory>
  4. int main(int argc, char **argv) {
  5. GOOGLE_PROTOBUF_VERIFY_VERSION;
  6. {
  7. subdirectorial::SimpleMessage *s = new subdirectorial::SimpleMessage();
  8. s->set_the_integer(3);
  9. subdirectorial::ComplexMessage c;
  10. c.set_allocated_sm(s);
  11. }
  12. google::protobuf::ShutdownProtobufLibrary();
  13. return 0;
  14. }