summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/defaultValue/Client.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2010-02-05 13:34:06 -0800
committerMark Spruiell <mes@zeroc.com>2010-02-05 13:34:06 -0800
commit2ae657758b62ca65a05a12a291097d8fe98dd2b5 (patch)
tree88eb13c400efe34ede7282c157907bc7812fe497 /cpp/test/Ice/defaultValue/Client.cpp
parentupdating CHANGES for bug 4653 (diff)
downloadice-2ae657758b62ca65a05a12a291097d8fe98dd2b5.tar.bz2
ice-2ae657758b62ca65a05a12a291097d8fe98dd2b5.tar.xz
ice-2ae657758b62ca65a05a12a291097d8fe98dd2b5.zip
bug 4650 - Slice default values
Diffstat (limited to 'cpp/test/Ice/defaultValue/Client.cpp')
-rw-r--r--cpp/test/Ice/defaultValue/Client.cpp42
1 files changed, 42 insertions, 0 deletions
diff --git a/cpp/test/Ice/defaultValue/Client.cpp b/cpp/test/Ice/defaultValue/Client.cpp
new file mode 100644
index 00000000000..7fc4908fe32
--- /dev/null
+++ b/cpp/test/Ice/defaultValue/Client.cpp
@@ -0,0 +1,42 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#include <Ice/Ice.h>
+#include <TestCommon.h>
+#include <Test.h>
+
+using namespace std;
+using namespace Test;
+
+int
+run(int argc, char* argv[])
+{
+ void allTests();
+ allTests();
+
+ return EXIT_SUCCESS;
+}
+
+int
+main(int argc, char* argv[])
+{
+ int status;
+
+ try
+ {
+ status = run(argc, argv);
+ }
+ catch(const Ice::Exception& ex)
+ {
+ cerr << ex << endl;
+ status = EXIT_FAILURE;
+ }
+
+ return status;
+}