summaryrefslogtreecommitdiff
path: root/Tests/CMakeCommands/target_compile_features/lib_auto_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CMakeCommands/target_compile_features/lib_auto_type.h')
-rw-r--r--Tests/CMakeCommands/target_compile_features/lib_auto_type.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/target_compile_features/lib_auto_type.h b/Tests/CMakeCommands/target_compile_features/lib_auto_type.h
new file mode 100644
index 0000000000..c825b10c3b
--- /dev/null
+++ b/Tests/CMakeCommands/target_compile_features/lib_auto_type.h
@@ -0,0 +1,8 @@
+
+int getAutoTypeImpl();
+
+int getAutoType()
+{
+ auto i = getAutoTypeImpl();
+ return i;
+}