diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-03-02 17:22:47 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-03-02 17:22:47 -0300 |
commit | dbeca960863dadbe8d496195bc60202619314214 (patch) | |
tree | 0dada49b6b93f7af530d5b580af7b9d850f1b270 /tests/samplebinding/typesystem_sample.xml | |
parent | cff48628063b8cf145c01a0f84c19fabd75682db (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/typesystem_sample.xml')
-rw-r--r-- | tests/samplebinding/typesystem_sample.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml index 597bed610..c3522b841 100644 --- a/tests/samplebinding/typesystem_sample.xml +++ b/tests/samplebinding/typesystem_sample.xml @@ -826,6 +826,7 @@ <value-type name="MapUser"/> <value-type name="PairUser"/> <value-type name="ListUser"/> + <value-type name="NoImplicitConversion" /> <value-type name="NonDefaultCtor" /> <value-type name="OddBoolUser" /> <value-type name="Overload"> |