]> granicus.if.org Git - clang/commitdiff
Add a test to the previous commit.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 8 Jun 2010 03:59:28 +0000 (03:59 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 8 Jun 2010 03:59:28 +0000 (03:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105596 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/builtins-arm.c

index 555375754959801a2ba87921c27c33444e6184ab..546f57a4a18a3b7a71679b1c15321b86060f1b0b 100644 (file)
@@ -1,6 +1,12 @@
-// RUN: %clang_cc1 -triple thumbv7-eabi -target-cpu cortex-a8 -O3 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -Wall -Werror -triple thumbv7-eabi -target-cpu cortex-a8 -O3 -emit-llvm -o - %s | FileCheck %s
 
 void *f0()
 {
   return __builtin_thread_pointer();
 }
+
+void f1(char *a, char *b) {
+       __clear_cache(a,b);
+}
+
+// CHECK: call void @__clear_cache