summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/c_restrict.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CompileFeatures/c_restrict.c')
-rw-r--r--Tests/CompileFeatures/c_restrict.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/c_restrict.c b/Tests/CompileFeatures/c_restrict.c
new file mode 100644
index 0000000..5082da8
--- /dev/null
+++ b/Tests/CompileFeatures/c_restrict.c
@@ -0,0 +1,7 @@
+
+int f(int* restrict a, int* restrict b)
+{
+ (void)a;
+ (void)b;
+ return 0;
+}