1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/FrontendC/2007-06-05-NoInlineAttribute.c

14 lines
200 B
C
Raw Normal View History

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