summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/undefMutualRecStructUnion.ipdl
blob: 0e88c126e0e9711743dc7286ea5546b12af16e34 (plain)
1
2
3
4
5
6
7
8
9
10
11
//error: struct `X' is only partially defined
//error: union `Y' is only partially defined
//error: struct `Z' is only partially defined

struct X { Y y; };
union Y { Z; };
struct Z { X x; };

protocol undefMutualRecStructUnion {
child: async __delete__(X x);
};