llvm-project/clang/test/CodeGen/builtin-attributes.c

13 lines
227 B
C
Raw Normal View History

// RUN: %clang_cc1 -triple arm-unknown-unknown -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);
}