Eric Blake | dd883c6 | 2015-05-04 09:05:21 -0600 | [diff] [blame] | 1 | # we reject a base that is not a struct |
Eric Blake | 9050c65 | 2015-05-04 09:05:14 -0600 | [diff] [blame] | 2 | { 'union': 'Union', 'data': { 'a': 'int', 'b': 'str' } } |
Eric Blake | 895a2a8 | 2015-05-04 09:05:27 -0600 | [diff] [blame] | 3 | { 'struct': 'MyType', 'base': 'Union', 'data': { 'c': 'int' } } |