From a3af5aadbe45eccab791eec98859f6ad722c3b58 Mon Sep 17 00:00:00 2001
From: Boris Kolpackov <boris@codesynthesis.com>
Date: Wed, 6 Aug 2014 11:59:50 +0200
Subject: Make sure persistent class templates are fully instantiated

---
 common/object/test.hxx | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/common/object/test.hxx b/common/object/test.hxx
index aec17c6..4ff9075 100644
--- a/common/object/test.hxx
+++ b/common/object/test.hxx
@@ -40,6 +40,11 @@ namespace test1
   {
     int n;
   };
+
+  // Test instantiation in order to "see" id, etc.
+  //
+  typedef base<int> int_base;
+  #pragma db object(int_base)
 }
 
 #endif // TEST_HXX
-- 
cgit v1.1