brintos

brintos / llvm-project-archived public Read only

0
0
Text · 419 B · 8e4a7c7 Raw
21 lines · c
1// RUN: %clang -emit-llvm -S -o %t %s2// RUN: not grep '@f0' %t3// RUN: not grep 'call ' %t4// RUN: %clang -Xclang -disable-llvm-passes -emit-llvm -S -o %t %s5// RUN: grep '@f0' %t | count 26 7//static int f0() { 8static int __attribute__((always_inline)) f0() { 9  return 1;10}11 12int f1() {13  return f0();14}15 16// PR437217inline int f2() __attribute__((always_inline));18int f2() { return 7; }19int f3(void) { return f2(); }20 21