You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
|
|
// RUN: %clang_cc1 -fno-inline -emit-llvm %s -o - | FileCheck %s
|
|
|
|
// CHECK-NOT: foo
|
|
|
|
void bar() {
|
|
}
|
|
|
|
inline void __attribute__((__always_inline__)) foo() {
|
|
bar();
|
|
}
|
|
|
|
void i_want_bar() {
|
|
foo();
|
|
}
|