From 6aca63b74d4fff54b89112bda3ec3ba258a073c1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 22 Apr 2011 13:48:04 +0200 Subject: Test empty composite value type --- common/composite/test.hxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'common/composite/test.hxx') 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; -- cgit v1.1