summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-move/Inputs/function_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/clang-move/Inputs/function_test.h')
-rw-r--r--clang-tools-extra/test/clang-move/Inputs/function_test.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-move/Inputs/function_test.h b/clang-tools-extra/test/clang-move/Inputs/function_test.h
new file mode 100644
index 00000000000..810f803b6e8
--- /dev/null
+++ b/clang-tools-extra/test/clang-move/Inputs/function_test.h
@@ -0,0 +1,14 @@
+void f();
+
+inline int g() { return 0; }
+
+template<typename T>
+void h(T t) {}
+
+template<>
+void h(int t) {}
+
+class A {
+ public:
+ void f();
+};
OpenPOWER on IntegriCloud