summaryrefslogtreecommitdiff
path: root/tests/headers/class.hpp
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <ecoal95@gmail.com>2016-09-27 17:52:19 +0200
committerEmilio Cobos Álvarez <ecoal95@gmail.com>2016-09-27 17:52:19 +0200
commit7b432d31759fe3045402dd4af5401330256d2ac4 (patch)
tree6d0be54c174626f3697b8d4b757b04e4ffb4a534 /tests/headers/class.hpp
parent2034f77fee7cace15afc549eb8397276c38973cc (diff)
Take pointer constness into account, to fix generation of const methods.
Diffstat (limited to 'tests/headers/class.hpp')
-rw-r--r--tests/headers/class.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/headers/class.hpp b/tests/headers/class.hpp
index a34d4d8e..e753f186 100644
--- a/tests/headers/class.hpp
+++ b/tests/headers/class.hpp
@@ -18,3 +18,12 @@ union Union {
class WithUnion {
Union data;
};
+
+class RealAbstractionWithTonsOfMethods {
+ void foo();
+public:
+ void bar() const;
+ void bar();
+ void bar(int foo);
+ static void sta();
+};