Devang Patel | 7360df1 | 2008-09-03 17:05:49 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc -O2 -c -emit-llvm %s -o - | llvm-dis | grep call |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 2 | |
3 | static int bar(int x, int y) __attribute__((noinline)); | ||||
4 | |||||
5 | static int bar(int x, int y) | ||||
6 | { | ||||
7 | return x + y; | ||||
8 | } | ||||
9 | |||||
10 | int foo(int a, int b) { | ||||
11 | return bar(b, a); | ||||
12 | } | ||||
13 |