1*67e74705SXin Li // RUN: %clang_cc1 -triple thumbv7-apple-ios5 -target-feature +long-calls -emit-llvm -o - %s | FileCheck -check-prefix=LONGCALL %s
2*67e74705SXin Li // RUN: %clang_cc1 -triple thumbv7-apple-ios5 -emit-llvm -o - %s | FileCheck -check-prefix=NOLONGCALL %s
3*67e74705SXin Li
4*67e74705SXin Li // LONGCALL: attributes #0 = { {{.*}} "target-features"="+long-calls"
5*67e74705SXin Li // NOLONGCALL-NOT: attributes #0 = { {{.*}} "target-features"="+long-calls"
6*67e74705SXin Li
foo1(int a)7*67e74705SXin Li int foo1(int a) { return a; }
8