xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/2007-06-05-NoInlineAttribute.c (revision 0b98e8aad89f2bd4ba80b523d73cf29e9dd82ce1)
1 // RUN: %clang_cc1 -O2 -emit-llvm %s -o - | grep call
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 
14