Add unit tests for parameter-as-ward forthcoming implementation.

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2007-08-29 00:44:04 +01:00
1 parent 74bbf349d1
commit 4dcee720bb
4 files changed
+112

No files matched your search

+6
View File
@@ -273,6 +273,8 @@ public:
Foobar* get_foobar_with_other_as_custodian (const SomeObject *other) {
return new Foobar;
}
void set_foobar_with_self_as_custodian (Foobar *foobar) {
}
};
@@ -304,5 +306,9 @@ namespace xpto
Foobar* get_foobar_with_other_as_custodian(const SomeObject *other);
Foobar* create_new_foobar();
void set_foobar_with_other_as_custodian(Foobar *foobar, const SomeObject *other);
SomeObject * set_foobar_with_return_as_custodian(Foobar *foobar);
#endif /* !FOO_H_ */