Test for bug 753159.
authorChris Jones <jones.chris.g@gmail.com>
Wed, 30 May 2012 15:37:26 -0700
changeset 95301 4c96e5b05cb7d4642eaccf1a6319d357b013a82c
parent 95300 8fb11da68d816c26c09d7b5716b7b32e6e5dbe62
child 95302 869482fb63a0293e36518b42e15222e30344df85
push id10052
push usercjones@mozilla.com
push dateWed, 30 May 2012 22:37:33 +0000
treeherdermozilla-inbound@4c96e5b05cb7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs753159
milestone15.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Test for bug 753159.
ipc/ipdl/test/cxx/PTestDataStructures.ipdl
ipc/ipdl/test/ipdl/ok/emptyStruct.ipdl
--- a/ipc/ipdl/test/cxx/PTestDataStructures.ipdl
+++ b/ipc/ipdl/test/cxx/PTestDataStructures.ipdl
@@ -92,16 +92,18 @@ struct ShmemStruct {
     Shmem mem;
 };
 
 union ShmemUnion {
     int;
     Shmem;
 };
 
+struct Empty { };
+
 } // namespace _foo
 } // namespace mozilla
 
 namespace mozilla {
 namespace _ipdltest {
 
 sync protocol PTestDataStructures {
     manages PTestDataStructuresSub;
new file mode 100644
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/ok/emptyStruct.ipdl
@@ -0,0 +1,3 @@
+struct empty { };
+
+protocol emptyStruct { child:  __delete__(); };