diff options
Diffstat (limited to 'test/Driver/aarch64-ssbs.c')
-rw-r--r-- | test/Driver/aarch64-ssbs.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Driver/aarch64-ssbs.c b/test/Driver/aarch64-ssbs.c new file mode 100644 index 0000000000000..86c93ae926404 --- /dev/null +++ b/test/Driver/aarch64-ssbs.c @@ -0,0 +1,9 @@ +// RUN: %clang -### -target aarch64-none-none-eabi -march=armv8a+ssbs %s 2>&1 | FileCheck %s +// CHECK: "-target-feature" "+ssbs" + +// RUN: %clang -### -target aarch64-none-none-eabi -march=armv8a+nossbs %s 2>&1 | FileCheck %s --check-prefix=NOSSBS +// NOSSBS: "-target-feature" "-ssbs" + +// RUN: %clang -### -target aarch64-none-none-eabi %s 2>&1 | FileCheck %s --check-prefix=ABSENTSSBS +// ABSENTSSBS-NOT: "-target-feature" "+ssbs" +// ABSENTSSBS-NOT: "-target-feature" "-ssbs" |