bolt/deps/llvm-18.1.8/clang/test/CodeGen/2007-06-05-NoInlineAttribute.c
2025-02-14 19:21:04 +01:00

13 lines
210 B
C

// RUN: %clang_cc1 -O2 -emit-llvm %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);
}