llvm-project/clang/test/CodeGen/builtin-attributes.c
Rafael Espindola 23a8a06554 Change the test for which ABI/CC to use on ARM to be base on the environment
(the last argument of the triple).

llvm-svn: 106131
2010-06-16 19:01:17 +00:00

13 lines
233 B
C

// RUN: %clang_cc1 -triple arm-unknown-linux-gnueabi -emit-llvm -o - %s | FileCheck %s
// CHECK: declare i32 @printf(i8*, ...)
void f0() {
printf("a\n");
}
// CHECK: call void @exit
// CHECK: unreachable
void f1() {
exit(1);
}