syntax = "proto2";

package buf.test;

message M {
    enum E { Z = 0; }

    optional int32 o1 = 1 [packed = true];
    optional int32 o2 = 2 [packed = false];
    
    repeated M m1 = 3 [packed = true];
    repeated M m2 = 4 [packed = false];

    repeated E e1 = 5 [packed = true];
    repeated E e2 = 6 [packed = false];

    repeated float f1 = 7 [packed = true];
    repeated float f2 = 8 [packed = false];
}
