summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/openbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Driver/openbsd.c')
-rw-r--r--clang/test/Driver/openbsd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Driver/openbsd.c b/clang/test/Driver/openbsd.c
index f16d58ae148..182c4d49d64 100644
--- a/clang/test/Driver/openbsd.c
+++ b/clang/test/Driver/openbsd.c
@@ -112,3 +112,8 @@
// RUN: | FileCheck -check-prefix=CHECK-ARM-FLOAT-ABI %s
// CHECK-ARM-FLOAT-ABI-NOT: "-target-feature" "+soft-float"
// CHECK-ARM-FLOAT-ABI: "-target-feature" "+soft-float-abi"
+
+// Check PowerPC for Secure PLT
+// RUN: %clang -target powerpc-unknown-openbsd -### -c %s 2>&1 \
+// RUN: | FileCheck -check-prefix=CHECK-POWERPC-SECUREPLT %s
+// CHECK-POWERPC-SECUREPLT: "-target-feature" "+secure-plt"
OpenPOWER on IntegriCloud