summaryrefslogtreecommitdiffstats
path: root/test cases/frameworks/5 protocol buffers/withpath/pathprog.cpp
blob: 83af4b2562faa93a5be20ace4dde18540e7b2717 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include"com/mesonbuild/simple.pb.h"
#include"com/mesonbuild/subsite/complex.pb.h"

#include<memory>

int main(int argc, char **argv) {
    GOOGLE_PROTOBUF_VERIFY_VERSION;
    {
        subdirectorial::SimpleMessage *s = new subdirectorial::SimpleMessage();
        s->set_the_integer(3);
        subdirectorial::ComplexMessage c;
        c.set_allocated_sm(s);
    }
    google::protobuf::ShutdownProtobufLibrary();
    return 0;
}