summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/scope/Client.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-06-19 14:18:42 +0200
committerJose <jose@zeroc.com>2018-06-19 14:18:42 +0200
commitc4b96f766a0dba9d6472144f6a05475bb6d6c946 (patch)
treee3cc326b4305ba0d9ff2aab25bab15410f2f05c9 /cpp/test/Ice/scope/Client.cpp
parentslice2cpp generates invalid code wrt namespace qualification (diff)
downloadice-c4b96f766a0dba9d6472144f6a05475bb6d6c946.tar.bz2
ice-c4b96f766a0dba9d6472144f6a05475bb6d6c946.tar.xz
ice-c4b96f766a0dba9d6472144f6a05475bb6d6c946.zip
Test for qualified names
Diffstat (limited to 'cpp/test/Ice/scope/Client.cpp')
-rw-r--r--cpp/test/Ice/scope/Client.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/cpp/test/Ice/scope/Client.cpp b/cpp/test/Ice/scope/Client.cpp
new file mode 100644
index 00000000000..1e313ea6d42
--- /dev/null
+++ b/cpp/test/Ice/scope/Client.cpp
@@ -0,0 +1,33 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2018 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 <TestHelper.h>
+#include <Test.h>
+
+using namespace std;
+
+class Client : public Test::TestHelper
+{
+public:
+
+ void run(int, char**);
+};
+
+void
+Client::run(int argc, char** argv)
+{
+ Ice::CommunicatorHolder communicator = initialize(argc, argv);
+ cout << "test same Slice type name in different scopes... " << flush;
+ void allTests(Test::TestHelper*);
+ allTests(this);
+ cout << "ok" << endl;
+}
+
+DEFINE_TEST(Client)