Clang Project

clang_source_code/test/Driver/arm-long-calls.c
1// RUN: %clang -target armv7-eabi -### %s 2>&1 \
2// RUN:    | FileCheck %s -check-prefix CHECK-DEFAULT
3
4// RUN: %clang -target armv7-eabi -### -mlong-calls %s 2>&1 \
5// RUN:    | FileCheck %s -check-prefix CHECK-LONG-CALLS
6
7// RUN: %clang -target armv7-eabi -### -mlong-calls -mno-long-calls %s 2>&1 \
8// RUN:    | FileCheck %s -check-prefix CHECK-NO-LONG-CALLS
9
10// CHECK-DEFAULT-NOT: "-target-feature" "+long-calls"
11
12// CHECK-LONG-CALLS: "-target-feature" "+long-calls"
13
14// CHECK-NO-LONG-CALLS-NOT: "-target-feature" "+long-calls"
15
16