diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-06-08 03:59:28 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-06-08 03:59:28 +0000 |
commit | 2569885963708a90c185a72e9690789819e926e8 (patch) | |
tree | 19ea81afdc8ef65f4f87a0c9a313089318380107 | |
parent | 895e51de4a930fdca25b7556461fbfd05ac38832 (diff) | |
download | llvm-2569885963708a90c185a72e9690789819e926e8.zip llvm-2569885963708a90c185a72e9690789819e926e8.tar.gz llvm-2569885963708a90c185a72e9690789819e926e8.tar.bz2 |
Add a test to the previous commit.
llvm-svn: 105596
-rw-r--r-- | clang/test/CodeGen/builtins-arm.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/clang/test/CodeGen/builtins-arm.c b/clang/test/CodeGen/builtins-arm.c index 5553757..546f57a 100644 --- a/clang/test/CodeGen/builtins-arm.c +++ b/clang/test/CodeGen/builtins-arm.c @@ -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 |