summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/redeclMessage.ipdl
blob: 63a70d31a6e7ae30099d769d3aca98ed63622b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//error: message name `Msg' already declared as `MessageType'
//error: redeclaration of symbol `Msg', first declared at

[ChildProc=any]
protocol redeclMessage {

    // can't declare two messages with the same name

child:
    async Msg();
    async Msg();

};