diff options
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/managerNoDtor.ipdl')
-rw-r--r-- | ipc/ipdl/test/ipdl/error/managerNoDtor.ipdl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ipc/ipdl/test/ipdl/error/managerNoDtor.ipdl b/ipc/ipdl/test/ipdl/error/managerNoDtor.ipdl new file mode 100644 index 0000000000..0417cc5ace --- /dev/null +++ b/ipc/ipdl/test/ipdl/error/managerNoDtor.ipdl @@ -0,0 +1,11 @@ +//error: destructor declaration `__delete__(...)' required for managed protocol `managedNoDtor' + +include protocol managedNoDtor; + +protocol managerNoDtor { + manages managedNoDtor; + +parent: + async managedNoDtor(); + // error: no ctor defined +}; |