1little_endian_packets 2 3custom_field custom: 1 "custom" 4checksum checksum: 1 "checksum" 5 6enum Enum : 1 { 7 tag = 0, 8} 9 10struct Struct { 11 a: 4, 12 b: Enum, 13 c: custom, 14 d: checksum, 15} 16 17packet Packet { 18 a: 4, 19} 20 21struct RecursiveStruct_0 : RecursiveStruct_1 { 22} 23 24struct RecursiveStruct_1 : RecursiveStruct_0 { 25} 26 27struct InvalidParent : Packet { 28} 29 30struct UndeclaredParent : FooBar { 31} 32 33struct UnnecessaryConstraints (a=1) { 34} 35 36struct Undeclared : Struct (c=1) { 37} 38 39struct Redeclared : Struct (a=1, a=2) { 40} 41 42struct TypeMismatch : Struct (a=tag, b=1, c=1, d=1) { 43} 44 45struct InvalidLiteral : Struct (a=42) { 46} 47 48struct UndeclaredTag : Struct (b=undeclared_tag) { 49} 50 51struct Correct : Struct (a=1, b=tag) { 52} 53