aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/builtins-arm.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/builtins-arm.c')
-rw-r--r--test/Sema/builtins-arm.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Sema/builtins-arm.c b/test/Sema/builtins-arm.c
new file mode 100644
index 000000000000..4dd31e724050
--- /dev/null
+++ b/test/Sema/builtins-arm.c
@@ -0,0 +1,11 @@
+// RUN: %clang_cc1 -triple armv7 -fsyntax-only -verify -DTEST0 %s
+// RUN: %clang_cc1 -triple armv7 -fsyntax-only -verify -DTEST1 %s
+
+#ifdef TEST0
+void __clear_cache(char*, char*);
+#endif
+
+#ifdef TEST1
+void __clear_cache(void*, void*);
+#endif
+