summaryrefslogtreecommitdiff
path: root/cpp/test
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test')
-rw-r--r--cpp/test/Slice/macros/Client.cpp4
-rw-r--r--cpp/test/Slice/macros/Test.ice6
2 files changed, 0 insertions, 10 deletions
diff --git a/cpp/test/Slice/macros/Client.cpp b/cpp/test/Slice/macros/Client.cpp
index 1f15e4e91a1..36c26e47b7a 100644
--- a/cpp/test/Slice/macros/Client.cpp
+++ b/cpp/test/Slice/macros/Client.cpp
@@ -25,10 +25,6 @@ main(int argc, char* argv[])
test(d->x == 10);
test(d->y == 10);
- NoDefaultPtr nd = new NoDefault();
- test(nd->x != 10);
- test(nd->y != 10);
-
CppOnlyPtr c = new CppOnly();
test(c->lang == "cpp");
test(c->version == ICE_INT_VERSION);
diff --git a/cpp/test/Slice/macros/Test.ice b/cpp/test/Slice/macros/Test.ice
index 8687f136c55..405c9c2240f 100644
--- a/cpp/test/Slice/macros/Test.ice
+++ b/cpp/test/Slice/macros/Test.ice
@@ -34,12 +34,6 @@ class Default
int y DEFAULT(10);
};
-class NoDefault
-{
- int x NODEFAULT(10);
- int y NODEFAULT(10);
-};
-
//
// This class is only defined when compiling with slice2cpp.
//