aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/global.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-03-02 17:22:47 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-03-02 17:22:47 -0300
commitdbeca960863dadbe8d496195bc60202619314214 (patch)
tree0dada49b6b93f7af530d5b580af7b9d850f1b270 /tests/samplebinding/global.h
parentcff48628063b8cf145c01a0f84c19fabd75682db (diff)
Adds tests for a class without implicit conversions being extended in another module.
One value type class, called NoImplicitConversion, without implicit conversions of any kind is declared in the first library, libsample. In the other library, libother, ExtendsNoImplicitConversion defines a conversion operator to turn itself into a NoImplicitConversion class. The unit tests tries to pass an ExtendsNoImplicitConversion object where a NoImplicitConversion is expected.
Diffstat (limited to 'tests/samplebinding/global.h')
-rw-r--r--tests/samplebinding/global.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/samplebinding/global.h b/tests/samplebinding/global.h
index b442623e2..f54fb5166 100644
--- a/tests/samplebinding/global.h
+++ b/tests/samplebinding/global.h
@@ -13,6 +13,7 @@
#include "mapuser.h"
#include "modifications.h"
#include "multiple_derived.h"
+#include "noimplicitconversion.h"
#include "nondefaultctor.h"
#include "objecttype.h"
#include "objecttypelayout.h"