aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-04-22 13:48:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-04-22 13:48:04 +0200
commit6aca63b74d4fff54b89112bda3ec3ba258a073c1 (patch)
tree213be2e8b419ffba3f5ec0a13e90e08d6a4f3bb4
parente305857bd0bd406ab91d31aaea0c1491d6e36b50 (diff)
Test empty composite value type
-rw-r--r--common/composite/test.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/common/composite/test.hxx b/common/composite/test.hxx
index bd50cdc..120476a 100644
--- a/common/composite/test.hxx
+++ b/common/composite/test.hxx
@@ -24,6 +24,12 @@ struct name_title
};
#pragma db value
+struct name_title_ex: name_title
+{
+ // Test value types without data members.
+};
+
+#pragma db value
struct name_flags
{
bool nick;
@@ -31,7 +37,7 @@ struct name_flags
};
#pragma db value
-struct name_ex: name, name_title
+struct name_ex: name, name_title_ex
{
name alias;
std::string nick;