summaryrefslogtreecommitdiff
path: root/tests/headers
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers')
-rw-r--r--tests/headers/class.hpp9
-rw-r--r--tests/headers/const_tparam.hpp1
2 files changed, 10 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();
+};
diff --git a/tests/headers/const_tparam.hpp b/tests/headers/const_tparam.hpp
index a2db574c..05f26e4a 100644
--- a/tests/headers/const_tparam.hpp
+++ b/tests/headers/const_tparam.hpp
@@ -1,4 +1,5 @@
template<typename T>
class C {
const T* const foo;
+ const T* bar;
};