syntax = "proto2";

extend Bar {
    optional group Baz = 1 {}
}

message Bar {
    extensions 1;

    map<int32, string> x = 5;

    oneof foo { // foo
        group Quz = 3 {}
    }

    message Nest {}
}