Add a test to the previous commit.

llvm-svn: 105596
This commit is contained in:
Rafael Espindola 2010-06-08 03:59:28 +00:00
parent 895e51de4a
commit 2569885963
1 changed files with 7 additions and 1 deletions

View 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