summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/inconsistentRC.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/inconsistentRC.ipdl')
-rw-r--r--ipc/ipdl/test/ipdl/error/inconsistentRC.ipdl9
1 files changed, 9 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..ee1375c312
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/inconsistentRC.ipdl
@@ -0,0 +1,9 @@
+//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";
+
+protocol inconsistentRC {
+child:
+ async SomeMessage();
+};