summaryrefslogtreecommitdiff
path: root/Examples/test-suite/clientdata_prop_b.h
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/clientdata_prop_b.h')
-rw-r--r--Examples/test-suite/clientdata_prop_b.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/Examples/test-suite/clientdata_prop_b.h b/Examples/test-suite/clientdata_prop_b.h
new file mode 100644
index 0000000..f8a709e
--- /dev/null
+++ b/Examples/test-suite/clientdata_prop_b.h
@@ -0,0 +1,38 @@
+#include "clientdata_prop_a.h"
+
+typedef tA t2A;
+typedef A t3A;
+
+class B : public A
+{
+ public:
+ void fB() {}
+};
+
+class C : public tA
+{
+ public:
+ void fC() {}
+};
+
+class D : public t2A
+{
+ public:
+ void fD() {}
+};
+
+typedef D tD;
+typedef tD t2D;
+
+void test_t2A(t2A *a) {}
+void test_t3A(t3A *a) {}
+void test_B(B *b) {}
+void test_C(C *c) {}
+void test_D(D *d) {}
+void test_tD(tD *d) {}
+void test_t2D(t2D *d) {}
+
+t2A *new_t2A() { return new t2A(); }
+t3A *new_t3A() { return new t3A(); }
+tD * new_tD () { return new tD (); }
+t2D *new_t2D() { return new t2D(); }