summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands/target_compile_features/lib_restrict.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CMakeCommands/target_compile_features/lib_restrict.c')
-rw-r--r--Tests/CMakeCommands/target_compile_features/lib_restrict.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/target_compile_features/lib_restrict.c b/Tests/CMakeCommands/target_compile_features/lib_restrict.c
new file mode 100644
index 0000000..049c1b0
--- /dev/null
+++ b/Tests/CMakeCommands/target_compile_features/lib_restrict.c
@@ -0,0 +1,9 @@
+
+#include "lib_restrict.h"
+
+int foo(int * restrict a, int * restrict b)
+{
+ (void)a;
+ (void)b;
+ return 0;
+}