Test case for noinline attribute.

llvm-svn: 37479
This commit is contained in:
Tanya Lattner 2007-06-06 20:52:16 +00:00
parent c5d0dc3554
commit ed5daa8f3a

View File

@ -0,0 +1,13 @@
// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep llvm.noinline
int bar(int x, int y); __attribute__((noinline))
int bar(int x, int y)
{
return x + y;
}
int foo(int a, int b) {
return bar(b, a);
}