aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-04-16 14:37:01 -0300
committerHugo Parente Lima <hugo.lima@openbossa.org>2010-04-22 19:45:24 -0300
commit735a1c4fd5a1af96fb26793a707c4151094bae9c (patch)
tree5933afdc285d70ff348e1979fc760b100909eaaf /tests/libsample
parent541a47b1c003cfc9eaec685918ad54a463f202c2 (diff)
Add test for classes and inner classes inside namespaces.
Diffstat (limited to 'tests/libsample')
-rw-r--r--tests/libsample/samplenamespace.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/libsample/samplenamespace.h b/tests/libsample/samplenamespace.h
index 7e0ec38cc..2cc371e34 100644
--- a/tests/libsample/samplenamespace.h
+++ b/tests/libsample/samplenamespace.h
@@ -68,6 +68,18 @@ LIBSAMPLE_API inline double powerOfTwo(double num) {
LIBSAMPLE_API void doSomethingWithArray(const unsigned char* data, unsigned int size, const char* format = 0);
+class SomeClass
+{
+public:
+ class SomeInnerClass
+ {
+ public:
+ class OkThisIsRecursiveEnough
+ {
+ };
+ };
+};
+
} // namespace SampleNamespace
#endif // SAMPLENAMESPACE_H