summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/cyclecheck_Child.ipdl
blob: dd27586d8be987fe2c9d1a019ba66c4ef3780b2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//error: cycle(s) detected in manager/manages hierarchy: `cyclecheck_Parent -> cyclecheck_Child -> cyclecheck_Grandchild -> cyclecheck_Parent'
//error: |manages| declaration in protocol `cyclecheck_Grandchild' does not match any |manager| declaration in protocol `cyclecheck_Parent'

include protocol cyclecheck_Parent;
include protocol cyclecheck_Grandchild;

protocol cyclecheck_Child {
    manager cyclecheck_Parent;
    manages cyclecheck_Grandchild;

child:
    async cyclecheck_Grandchild();
    async __delete__();
};