]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/always-inline.c
Vendor import of clang release_30 branch r142614:
[FreeBSD/FreeBSD.git] / test / CodeGen / always-inline.c
1 // RUN: %clang_cc1 -emit-llvm %s -o - | grep call | not grep foo
2
3 void bar() {
4 }
5
6 inline void __attribute__((__always_inline__)) foo() {
7   bar();
8 }
9
10 void i_want_bar() {
11   foo();
12 }