mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-07 16:54:48 +00:00
14 lines
214 B
C
14 lines
214 B
C
|
// 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);
|
||
|
}
|
||
|
|