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