summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/shmem.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/shmem.ipdl')
-rw-r--r--ipc/ipdl/test/ipdl/error/shmem.ipdl8
1 files changed, 8 insertions, 0 deletions
diff --git a/ipc/ipdl/test/ipdl/error/shmem.ipdl b/ipc/ipdl/test/ipdl/error/shmem.ipdl
new file mode 100644
index 0000000000..7f4326ccf5
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/shmem.ipdl
@@ -0,0 +1,8 @@
+//error: redeclaration of symbol `Shmem', first declared at
+//error: redeclaration of symbol `::mozilla::ipc::Shmem', first declared at
+
+using class mozilla::ipc::Shmem from "mozilla/ipc/Shmem.h"; // redeclaration
+
+protocol shmem {
+child: async Msg(Shmem s);
+};