14 lines
222 B
C
14 lines
222 B
C
// RUN: %llvmgcc -O2 -c -emit-llvm %s -o - | llvm-dis | 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);
|
|
}
|
|
|