summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/ok/PUniquePtrRecUnion.ipdl
blob: 4a0b9e7299d5bcd69f202d7db35530e738c4d5d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
union X {
    int;
    Y[];
    UniquePtr<Y>;
};

union Y {
    X;
    Z;
};

union Z {
    double;
    X;
};

protocol PUniquePtrRecUnion {
child:
    async Test(X x, Y y, Z z);
    async __delete__();
};