1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/FrontendC/2007-06-05-NoInlineAttribute.c
Devang Patel ce2b476d8e Update test to check call instruction.
llvm-svn: 55702
2008-09-03 17:05:49 +00:00

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);
}