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

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

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