ef91ab0d5f
Cover invalid 'if' in struct members, features, union and alternate branches. Four out of four are broken. Mark FIXME. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190914153506.2151-6-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> [Comment typo fixed]
24 lines
441 B
Plaintext
24 lines
441 B
Plaintext
module None
|
|
object q_empty
|
|
enum QType
|
|
prefix QTYPE
|
|
member none
|
|
member qnull
|
|
member qnum
|
|
member qstring
|
|
member qdict
|
|
member qlist
|
|
member qbool
|
|
module union-branch-if-invalid.json
|
|
enum Branches
|
|
member branch1
|
|
object Stru
|
|
member member: str optional=False
|
|
object q_obj_Uni-base
|
|
member tag: Branches optional=False
|
|
object Uni
|
|
base q_obj_Uni-base
|
|
tag tag
|
|
case branch1: Stru
|
|
if ['']
|