summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/structRedecl.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/structRedecl.ipdl')
-rw-r--r--ipc/ipdl/test/ipdl/error/structRedecl.ipdl11
1 files changed, 11 insertions, 0 deletions
diff --git a/ipc/ipdl/test/ipdl/error/structRedecl.ipdl b/ipc/ipdl/test/ipdl/error/structRedecl.ipdl
new file mode 100644
index 0000000000..37d87d6627
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/structRedecl.ipdl
@@ -0,0 +1,11 @@
+//error: redeclaration of symbol `a', first declared at
+
+struct Redecl {
+ int a;
+ double a;
+};
+
+[ChildProc=any]
+protocol structRedecl {
+child: async __delete__();
+};