aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-09-02 18:49:49 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:18:27 -0300
commitf4800a705caacbbdada1074d5b5bfd1abf1316c3 (patch)
tree5c0cdb9e17869e87cc4a47d44ea9277a4c1a11dd /tests/libsample
parent7ae96ccd9b11f918b392accc7e5048c5c8905a0a (diff)
Added test for instantiated container type used as primitive-type.
Diffstat (limited to 'tests/libsample')
-rw-r--r--tests/libsample/str.h3
-rw-r--r--tests/libsample/strlist.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/libsample/str.h b/tests/libsample/str.h
index f51378240..65fc18349 100644
--- a/tests/libsample/str.h
+++ b/tests/libsample/str.h
@@ -65,5 +65,6 @@ private:
LIBSAMPLE_API Str operator+(int number, const Str& str);
LIBSAMPLE_API unsigned int strHash(const Str& str);
-#endif // STR_H
+typedef Str PStr;
+#endif // STR_H
diff --git a/tests/libsample/strlist.h b/tests/libsample/strlist.h
index 98dfdee13..41c684bbb 100644
--- a/tests/libsample/strlist.h
+++ b/tests/libsample/strlist.h
@@ -54,4 +54,6 @@ private:
CtorEnum m_ctorUsed;
};
+typedef StrList PStrList;
+
#endif // STRLIST_H