aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/testcases/move-class/template/theclass.h_expected
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cppeditor/testcases/move-class/template/theclass.h_expected')
-rw-r--r--src/plugins/cppeditor/testcases/move-class/template/theclass.h_expected11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/testcases/move-class/template/theclass.h_expected b/src/plugins/cppeditor/testcases/move-class/template/theclass.h_expected
new file mode 100644
index 0000000000..f9681cc796
--- /dev/null
+++ b/src/plugins/cppeditor/testcases/move-class/template/theclass.h_expected
@@ -0,0 +1,11 @@
+#ifndef THECLASS_H
+#define THECLASS_H
+
+template<typename T> class TheClass
+{
+ T defaultValue() const;
+};
+
+template<typename T> inline T TheClass<T>::defaultValue() const { return T(); }
+
+#endif // THECLASS_H