diff options
Diffstat (limited to 'test/Driver/mips-features.c')
-rw-r--r-- | test/Driver/mips-features.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Driver/mips-features.c b/test/Driver/mips-features.c index a9db0f1017..d9bde7ded6 100644 --- a/test/Driver/mips-features.c +++ b/test/Driver/mips-features.c @@ -402,3 +402,9 @@ // RUN: %clang -target -mips-mti-linux-gnu -### -c %s -mno-branch-likely 2>&1 \ // RUN: | FileCheck --check-prefix=NO-BRANCH-LIKELY %s // NO-BRANCH-LIKELY: argument unused during compilation: '-mno-branch-likely' + +// -mindirect-jump=hazard +// RUN: %clang -target mips-unknown-linux-gnu -### -c %s \ +// RUN: -mindirect-jump=hazard 2>&1 \ +// RUN: | FileCheck --check-prefix=INDIRECT-BH %s +// INDIRECT-BH: "-target-feature" "+use-indirect-jump-hazard" |