summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <me@emiliocobos.me>2016-04-04 18:55:02 +0200
committerEmilio Cobos Álvarez <me@emiliocobos.me>2016-04-04 18:55:25 +0200
commit63b7a3447b6981940ebdf3da4db6815ac5c242e1 (patch)
tree7411b0ea352588c1536547461bfaf7e4f3baf853
parent158b2125f905480f685e7f3d3ca4e0a5c5ce2e95 (diff)
Check more types of in-class typedef resolving work
-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) {};
};