summaryrefslogtreecommitdiff
path: root/test/FrontendC/2007-06-05-NoInlineAttribute.c
blob: b11b3c779684e6b4acf4c4174cc5d36cee0d3bc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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);
}