]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/arm-long-calls.c
Vendor import of clang trunk r242221:
[FreeBSD/FreeBSD.git] / test / CodeGen / arm-long-calls.c
1 // RUN: %clang_cc1 -triple thumbv7-apple-ios5  -target-feature +long-calls -emit-llvm -o - %s | FileCheck -check-prefix=LONGCALL %s
2 // RUN: %clang_cc1 -triple thumbv7-apple-ios5 -emit-llvm -o - %s | FileCheck -check-prefix=NOLONGCALL %s
3
4 // LONGCALL: attributes #0 = { {{.*}} "target-features"="+long-calls"
5 // NOLONGCALL-NOT: attributes #0 = { {{.*}} "target-features"="+long-calls"
6
7 int foo1(int a) { return a; }