xref: /aosp_15_r20/external/clang/test/CodeGen/2007-06-05-NoInlineAttribute.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -O2 -emit-llvm %s -o - | grep call
2 
3 static int bar(int x, int y) __attribute__((noinline));
4 
bar(int x,int y)5 static int bar(int x, int y)
6 {
7  return x + y;
8 }
9 
foo(int a,int b)10 int foo(int a, int b) {
11  return  bar(b, a);
12 }
13 
14