summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/cyclecheck_Grandchild.ipdl
blob: 9152a56a1688d918fa4f8bf9fc1c1f8d2c09ff43 (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_Child;
include protocol cyclecheck_Parent;

protocol cyclecheck_Grandchild {
    manager cyclecheck_Child;
    manages cyclecheck_Parent;

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