aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-10-14 19:20:08 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:18:29 -0300
commit3baf8722684f09201b56f207a484d9c9c5e39822 (patch)
treeddc4fdce5ea8cbf63836e40550fd228af00e665b /tests
parent15e40bc3b44cef5bc0ae6ab614e5a93a477031c6 (diff)
Fixed code generation for functions arguments that use object types as values.
Diffstat (limited to 'tests')
-rw-r--r--tests/libsample/objecttypebyvalue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/libsample/objecttypebyvalue.h b/tests/libsample/objecttypebyvalue.h
index 0eb3bdd70..ce5d33eeb 100644
--- a/tests/libsample/objecttypebyvalue.h
+++ b/tests/libsample/objecttypebyvalue.h
@@ -28,6 +28,7 @@ class ObjectTypeByValue
{
public:
ObjectTypeByValue returnSomeKindOfMe() { return ObjectTypeByValue(); }
+ void acceptKindOfMeAsValue(ObjectTypeByValue kindOfMe) {}
// prop used to check for segfaults
ProtectedProperty prop;