summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/operations/TestAMDI.cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2016-08-23 10:32:07 -0400
committerJoe George <joe@zeroc.com>2016-08-23 10:32:07 -0400
commita28d6b7c8cc89a51da882f423cc9383571dc21ea (patch)
treef2e947c70c9706978a424cc766e0a35ac14edc81 /cpp/test/Ice/operations/TestAMDI.cpp
parentMissing es5 test files (diff)
downloadice-a28d6b7c8cc89a51da882f423cc9383571dc21ea.tar.bz2
ice-a28d6b7c8cc89a51da882f423cc9383571dc21ea.tar.xz
ice-a28d6b7c8cc89a51da882f423cc9383571dc21ea.zip
Another fix for ICE-7284
Diffstat (limited to 'cpp/test/Ice/operations/TestAMDI.cpp')
-rw-r--r--cpp/test/Ice/operations/TestAMDI.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/test/Ice/operations/TestAMDI.cpp b/cpp/test/Ice/operations/TestAMDI.cpp
index f35969c3a5f..ed02a23f340 100644
--- a/cpp/test/Ice/operations/TestAMDI.cpp
+++ b/cpp/test/Ice/operations/TestAMDI.cpp
@@ -1867,7 +1867,9 @@ void
MyDerivedClassI::opMStruct1_async(const Test::AMD_MyClass_opMStruct1Ptr& cb,
const Ice::Current&)
{
- return cb->ice_response(Test::Structure());
+ Test::Structure s;
+ s.e = ICE_ENUM(MyEnum, enum1); // enum must be initialized
+ return cb->ice_response(s);
}
void