1 // RUN: %clang -emit-llvm -S -o %t %s 2 // RUN: not grep '@f0' %t 3 // RUN: not grep 'call ' %t 4 // RUN: %clang -mllvm -disable-llvm-optzns -emit-llvm -S -o %t %s 5 // RUN: grep '@f0' %t | count 2 6 7 //static int f0() { f0()8static int __attribute__((always_inline)) f0() { 9 return 1; 10 } 11 f1()12int f1() { 13 return f0(); 14 } 15 16 // PR4372 17 inline int f2() __attribute__((always_inline)); f2()18int f2() { return 7; } f3(void)19int f3(void) { return f2(); } 20 21