def test_struct():
    for i in range(len(struct_names)):
        if i == 3:
            tag = "union"
        else:
            tag = "struct"
        assert parse((tag, struct_names[i]) % "%s %s") == ['->', Struct(i)]
        assert parse("%s %s*" % (tag, struct_names[i])) == [Struct(i),
                                                            '->', Pointer(0)]
dataset/ETHPy150Open johncsnyder/SwiftKitten/cffi/testing/cffi1/test_parse_c_type.py/test_struct/swapped operands of `%`