summaryrefslogtreecommitdiffstats
path: root/test/Driver/mips-features.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/mips-features.c')
-rw-r--r--test/Driver/mips-features.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Driver/mips-features.c b/test/Driver/mips-features.c
index 03cc0fd..f702230 100644
--- a/test/Driver/mips-features.c
+++ b/test/Driver/mips-features.c
@@ -1,5 +1,15 @@
// Check handling MIPS specific features options.
//
+// -mabicalls
+// RUN: %clang -target mips-linux-gnu -### -c %s -mno-abicalls -mabicalls 2>&1 \
+// RUN: | FileCheck --check-prefix=CHECK-MABICALLS %s
+// CHECK-MABICALLS: "-target-feature" "-noabicalls"
+//
+// -mno-abicalls
+// RUN: %clang -target mips-linux-gnu -### -c %s -mabicalls -mno-abicalls 2>&1 \
+// RUN: | FileCheck --check-prefix=CHECK-MNOABICALLS %s
+// CHECK-MNOABICALLS: "-target-feature" "+noabicalls"
+//
// -mips16
// RUN: %clang -target mips-linux-gnu -### -c %s \
// RUN: -mno-mips16 -mips16 2>&1 \
OpenPOWER on IntegriCloud