diff options
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/inconsistentRC.ipdl')
-rw-r--r-- | ipc/ipdl/test/ipdl/error/inconsistentRC.ipdl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ipc/ipdl/test/ipdl/error/inconsistentRC.ipdl b/ipc/ipdl/test/ipdl/error/inconsistentRC.ipdl new file mode 100644 index 0000000000..a00bca66e4 --- /dev/null +++ b/ipc/ipdl/test/ipdl/error/inconsistentRC.ipdl @@ -0,0 +1,10 @@ +//error: inconsistent refcounted status of type `::mozilla::ipc::SomeRefcountedType` + +[RefCounted] using class mozilla::ipc::SomeRefcountedType from "SomeFile.h"; +using class mozilla::ipc::SomeRefcountedType from "SomeFile.h"; + +[ChildProc=any] +protocol inconsistentRC { +child: + async SomeMessage(); +}; |