summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/operations/TestAMDI.cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2016-08-19 16:00:28 -0400
committerJoe George <joe@zeroc.com>2016-08-19 16:03:40 -0400
commiteb5f01eed356f4bec8c909c657429c924faa2521 (patch)
tree604c18b626fe70ee4d358591b266c5109e62884b /cpp/test/Ice/operations/TestAMDI.cpp
parentES6 mapping updates (diff)
downloadice-eb5f01eed356f4bec8c909c657429c924faa2521.tar.bz2
ice-eb5f01eed356f4bec8c909c657429c924faa2521.tar.xz
ice-eb5f01eed356f4bec8c909c657429c924faa2521.zip
Fix ICE-7284 - Ice/operations test failure
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 504efeb4df8..f35969c3a5f 100644
--- a/cpp/test/Ice/operations/TestAMDI.cpp
+++ b/cpp/test/Ice/operations/TestAMDI.cpp
@@ -1000,7 +1000,9 @@ MyDerivedClassI::opMStruct1Async(function<void(const Test::Structure&)> response
function<void(std::exception_ptr)>,
const Ice::Current&)
{
- response(Test::Structure());
+ Test::Structure s;
+ s.e = ICE_ENUM(MyEnum, enum1); // enum must be initialized
+ response(s);
}
void