summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/headers/class_with_typedef.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/headers/class_with_typedef.hpp b/tests/headers/class_with_typedef.hpp
index 4834516b..e93c11f2 100644
--- a/tests/headers/class_with_typedef.hpp
+++ b/tests/headers/class_with_typedef.hpp
@@ -3,6 +3,7 @@ typedef int AnotherInt;
class C {
public:
typedef int MyInt;
+ typedef const char* Lookup;
MyInt c;
MyInt* ptr;
MyInt arr[10];
@@ -10,6 +11,8 @@ public:
AnotherInt* other_ptr;
void method(MyInt c) {};
+ void methodRef(MyInt& c) {};
+ void complexMethodRef(Lookup& c) {};
void anotherMethod(AnotherInt c) {};
};