diff options
Diffstat (limited to 'ipc/ipdl/test/ipdl/ok/PUniquePtrRecUnion.ipdl')
-rw-r--r-- | ipc/ipdl/test/ipdl/ok/PUniquePtrRecUnion.ipdl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ipc/ipdl/test/ipdl/ok/PUniquePtrRecUnion.ipdl b/ipc/ipdl/test/ipdl/ok/PUniquePtrRecUnion.ipdl new file mode 100644 index 0000000000..4a0b9e7299 --- /dev/null +++ b/ipc/ipdl/test/ipdl/ok/PUniquePtrRecUnion.ipdl @@ -0,0 +1,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__(); +}; |