aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2007-06-05-NoInlineAttribute.c
blob: 9543538fb1b9e7b1e73d67d6b4eaf173e1292f00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %llvmgcc -O2 -S %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);
}