[OpenACC] Enable 'attach' clause for combined constructs
[llvm-project.git] / clang / test / CodeGen / always_inline.c
blob8e4a7c70b183e5c2c08c4a3a11b7fb8188fab76e
1 // RUN: %clang -emit-llvm -S -o %t %s
2 // RUN: not grep '@f0' %t
3 // RUN: not grep 'call ' %t
4 // RUN: %clang -Xclang -disable-llvm-passes -emit-llvm -S -o %t %s
5 // RUN: grep '@f0' %t | count 2
7 //static int f0() {
8 static int __attribute__((always_inline)) f0() {
9 return 1;
12 int f1() {
13 return f0();
16 // PR4372
17 inline int f2() __attribute__((always_inline));
18 int f2() { return 7; }
19 int f3(void) { return f2(); }