File: sideprog.cpp

package info (click to toggle)
meson 1.7.0-1~bpo12%2B1
  • links: PTS
  • area: main
  • in suites: bookworm-backports
  • size: 23,352 kB
  • sloc: python: 84,086; ansic: 7,111; cpp: 2,381; f90: 461; asm: 218; sh: 156; xml: 109; java: 97; cs: 62; objc: 33; lex: 13; fortran: 12; makefile: 10; yacc: 9; javascript: 6
file content (16 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (14)
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;
}