From: Rafael Espindola Date: Tue, 8 Jun 2010 03:59:28 +0000 (+0000) Subject: Add a test to the previous commit. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a71d3c65375114146bb515b31820c5bf5d670128;p=clang Add a test to the previous commit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105596 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/builtins-arm.c b/test/CodeGen/builtins-arm.c index 5553757549..546f57a4a1 100644 --- a/test/CodeGen/builtins-arm.c +++ b/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