diff options
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/redeclParamReturn.ipdl')
-rw-r--r-- | ipc/ipdl/test/ipdl/error/redeclParamReturn.ipdl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ipc/ipdl/test/ipdl/error/redeclParamReturn.ipdl b/ipc/ipdl/test/ipdl/error/redeclParamReturn.ipdl new file mode 100644 index 0000000000..ccdcbbe0d1 --- /dev/null +++ b/ipc/ipdl/test/ipdl/error/redeclParamReturn.ipdl @@ -0,0 +1,9 @@ +//error: redeclaration of symbol `f', first declared at + +sync protocol redeclParamReturn { + + // it's an error to name a parameter with the same id as a return + +parent: async Msg(int f) returns (bool f); + +}; |