summaryrefslogtreecommitdiff
path: root/cpp/test/Slice/keyword/Client.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2008-03-13 15:56:24 +0800
committerMatthew Newhook <matthew@zeroc.com>2008-03-13 15:56:24 +0800
commitca80b1da9e45035947e2f5f87cc257dafffc267a (patch)
tree4950ecce5a080851a7ccdeb64cb54cbe4d5c6cf0 /cpp/test/Slice/keyword/Client.cpp
parent- Revert prior fix for bug 2752. (diff)
downloadice-ca80b1da9e45035947e2f5f87cc257dafffc267a.tar.bz2
ice-ca80b1da9e45035947e2f5f87cc257dafffc267a.tar.xz
ice-ca80b1da9e45035947e2f5f87cc257dafffc267a.zip
get rid of some optimizer warnings.
Diffstat (limited to 'cpp/test/Slice/keyword/Client.cpp')
-rw-r--r--cpp/test/Slice/keyword/Client.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/test/Slice/keyword/Client.cpp b/cpp/test/Slice/keyword/Client.cpp
index 9b283edf767..56163a422c5 100644
--- a/cpp/test/Slice/keyword/Client.cpp
+++ b/cpp/test/Slice/keyword/Client.cpp
@@ -8,6 +8,7 @@
// **********************************************************************
#include <Ice/Ice.h>
+#include <TestCommon.h>
#include <Key.h>
using namespace std;
@@ -81,7 +82,7 @@ void
testtypes()
{
_cpp_and::_cpp_continue a = _cpp_and::_cpp_asm;
- assert(a);
+ test(a);
_cpp_and::_cpp_auto b;
b._cpp_default = 0;
@@ -119,7 +120,7 @@ testtypes()
_cpp_and::friendPtr l = new friendI();
const int m = _cpp_and::_cpp_template;
- assert(m == _cpp_and::_cpp_template);
+ test(m == _cpp_and::_cpp_template);
}
int