summaryrefslogtreecommitdiffstats
path: root/examples/diagrams_d.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/diagrams_d.h')
-rw-r--r--examples/diagrams_d.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/diagrams_d.h b/examples/diagrams_d.h
new file mode 100644
index 0000000..3e635ce
--- /dev/null
+++ b/examples/diagrams_d.h
@@ -0,0 +1,7 @@
+#ifndef _DIAGRAM_D_H
+#define _DIAGRAM_D_H
+#include "diagrams_a.h"
+#include "diagrams_b.h"
+class C;
+class D : virtual protected A, private B { public: C m_c; };
+#endif