summaryrefslogtreecommitdiff
path: root/odb-tests/common/circular/multiple/test2.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb-tests/common/circular/multiple/test2.hxx')
-rw-r--r--odb-tests/common/circular/multiple/test2.hxx17
1 files changed, 17 insertions, 0 deletions
diff --git a/odb-tests/common/circular/multiple/test2.hxx b/odb-tests/common/circular/multiple/test2.hxx
new file mode 100644
index 0000000..49e9ed2
--- /dev/null
+++ b/odb-tests/common/circular/multiple/test2.hxx
@@ -0,0 +1,17 @@
+// file : common/circular/multiple/test2.hxx
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#ifndef TEST2_HXX
+#define TEST2_HXX
+
+#include <odb/core.hxx>
+
+#include "test1.hxx"
+
+#pragma db object
+struct derived: base
+{
+ base* b_;
+};
+
+#endif // TEST2_HXX