summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/operations/TestI.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/TestI.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/TestI.cpp')
-rw-r--r--cpp/test/Ice/operations/TestI.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/test/Ice/operations/TestI.cpp b/cpp/test/Ice/operations/TestI.cpp
index 6e2f62ec446..7b7f4ba6c33 100644
--- a/cpp/test/Ice/operations/TestI.cpp
+++ b/cpp/test/Ice/operations/TestI.cpp
@@ -846,7 +846,9 @@ MyDerivedClassI::opWStringLiterals(const Ice::Current&)
Test::Structure
MyDerivedClassI::opMStruct1(const Ice::Current&)
{
- return Test::Structure();
+ Test::Structure s;
+ s.e = ICE_ENUM(MyEnum, enum1); // enum must be initialized
+ return s;
}