summaryrefslogtreecommitdiff
path: root/test/FrontendC/always-inline.c
blob: 22f6c7a20ef20b07886ebf11fca0b5bb78883bb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %llvmgcc -S %s -o - | grep call | not grep foo

void bar() {
}

inline void __attribute__((__always_inline__)) foo() {
  bar();
}

void i_want_bar() {
  foo();
}