From e08eeb9e5da87a729992c5a1d14bfd62f4ed2205 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Mon, 18 Apr 2011 12:56:18 +0200 Subject: Add tests for qt/smart-ptr --- qt/common/template/test.hxx | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 qt/common/template/test.hxx (limited to 'qt/common/template/test.hxx') diff --git a/qt/common/template/test.hxx b/qt/common/template/test.hxx new file mode 100644 index 0000000..ced88b2 --- /dev/null +++ b/qt/common/template/test.hxx @@ -0,0 +1,27 @@ +// file : qt/common/template/test.hxx +// author : Constantin Michael +// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef TEST_HXX +#define TEST_HXX + +#include + +#pragma db object +struct object +{ + object (unsigned long id) + : id_ (id) + { + } + + object () + { + } + + #pragma db id + unsigned long id_; +}; + +#endif // TEST_HXX -- cgit v1.1