little_endian_packets custom_field custom: 1 "custom" checksum checksum: 1 "checksum" enum Enum : 1 { tag = 0, } packet Packet { a: 4, b: Enum, c: custom, d: checksum, } struct Struct { a: 4, } packet RecursivePacket_0 : RecursivePacket_1 { } packet RecursivePacket_1 : RecursivePacket_0 { } packet InvalidParent : Struct { } packet UndeclaredParent : FooBar { } packet UnnecessaryConstraints (a=1) { } packet Undeclared : Packet (c=1) { } packet Redeclared : Packet (a=1, a=2) { } packet TypeMismatch : Packet (a=tag, b=1, c=1, d=1) { } packet InvalidLiteral : Packet (a=42) { } packet UndeclaredTag : Packet (b=undeclared_tag) { } packet Correct : Packet (a=1, b=tag) { }