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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Driver/mips-features.c b/test/Driver/mips-features.c
index 5be2683..28048e7 100644
--- a/test/Driver/mips-features.c
+++ b/test/Driver/mips-features.c
@@ -37,3 +37,9 @@
// RUN: -mdspr2 -mno-dspr2 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-NOMDSPR2 %s
// CHECK-NOMDSPR2: "-target-feature" "-dspr2"
+//
+// -G
+// RUN: %clang -target mips-linux-gnu -### -c %s \
+// RUN: -G 16 2>&1 \
+// RUN: | FileCheck --check-prefix=CHECK-MIPS-G %s
+// CHECK-MIPS-G: "-mllvm" "-mips-ssection-threshold=16"
OpenPOWER on IntegriCloud