hanchenye-llvm-project/llvm/test/FrontendC/2007-06-05-NoInlineAttribute.c

14 lines
200 B
C

// RUN: %llvmgcc -O2 -S %s -o - | grep call
static int bar(int x, int y) __attribute__((noinline));
static int bar(int x, int y)
{
return x + y;
}
int foo(int a, int b) {
return bar(b, a);
}