diff options
Diffstat (limited to 'test/Driver/mips-features.c')
-rw-r--r-- | test/Driver/mips-features.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Driver/mips-features.c b/test/Driver/mips-features.c index 28048e7..3bebffc 100644 --- a/test/Driver/mips-features.c +++ b/test/Driver/mips-features.c @@ -38,6 +38,18 @@ // RUN: | FileCheck --check-prefix=CHECK-NOMDSPR2 %s // CHECK-NOMDSPR2: "-target-feature" "-dspr2" // +// -mxgot +// RUN: %clang -target mips-linux-gnu -### -c %s \ +// RUN: -mno-xgot -mxgot 2>&1 \ +// RUN: | FileCheck --check-prefix=CHECK-XGOT %s +// CHECK-XGOT: "-mllvm" "-mxgot" +// +// -mno-xgot +// RUN: %clang -target mips-linux-gnu -### -c %s \ +// RUN: -mxgot -mno-xgot 2>&1 \ +// RUN: | FileCheck --check-prefix=CHECK-NOXGOT %s +// CHECK-NOXGOT-NOT: "-mllvm" "-mxgot" +// // -G // RUN: %clang -target mips-linux-gnu -### -c %s \ // RUN: -G 16 2>&1 \ |