blob: c3faa8242b02888358705e82272d3c8fded9336b (
plain)
1
2
3
4
5
6
7
8
9
10
|
# we reject a base that is not a struct
##
# @Union:
##
{ 'union': 'Union', 'data': { 'a': 'int', 'b': 'str' } }
##
# @MyType:
##
{ 'struct': 'MyType', 'base': 'Union', 'data': { 'c': 'int' } }
|