1*8b3b3a16SMarkus Armbruster# We check for no duplicate keys between branch members and base 2*8b3b3a16SMarkus Armbruster# base's member 'name' clashes with Branch1's 3*8b3b3a16SMarkus Armbruster{ 'enum': 'TestEnum', 4*8b3b3a16SMarkus Armbruster 'data': [ 'value1', 'value2' ] } 5*8b3b3a16SMarkus Armbruster{ 'struct': 'Base', 6*8b3b3a16SMarkus Armbruster 'data': { 'enum1': 'TestEnum', '*name': 'str' } } 7*8b3b3a16SMarkus Armbruster{ 'struct': 'Branch1', 8*8b3b3a16SMarkus Armbruster 'data': { 'name': 'str' } } 9*8b3b3a16SMarkus Armbruster{ 'struct': 'Branch2', 10*8b3b3a16SMarkus Armbruster 'data': { 'value': 'int' } } 11*8b3b3a16SMarkus Armbruster{ 'union': 'TestUnion', 12*8b3b3a16SMarkus Armbruster 'base': 'Base', 13*8b3b3a16SMarkus Armbruster 'discriminator': 'enum1', 14*8b3b3a16SMarkus Armbruster 'data': { 'value1': 'Branch1', 15*8b3b3a16SMarkus Armbruster 'value2': 'Branch2' } } 16