llvm-project/clang/test/CodeGen/noplt.c

10 lines
213 B
C
Raw Normal View History

// RUN: %clang_cc1 -emit-llvm -fno-plt %s -o - | FileCheck %s -check-prefix=CHECK-NOPLT
// CHECK-NOPLT: Function Attrs: nonlazybind
// CHECK-NOPLT-NEXT: declare i32 @foo
int foo();
int bar() {
return foo();
}