summaryrefslogtreecommitdiffstats
path: root/test/Driver/noexecstack.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/noexecstack.c')
-rw-r--r--test/Driver/noexecstack.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Driver/noexecstack.c b/test/Driver/noexecstack.c
index 1f47728..5970713 100644
--- a/test/Driver/noexecstack.c
+++ b/test/Driver/noexecstack.c
@@ -1 +1,3 @@
-// RUN: %clang -### %s -c -o tmp.o -triple i686-pc-linux-gnu -integrated-as -Wa,--noexecstack 2>&1 | grep "mnoexecstack"
+// RUN: %clang -### %s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as -Wa,--noexecstack 2>&1 | FileCheck %s
+
+// CHECK: "-cc1" {{.*}} "-mnoexecstack"
OpenPOWER on IntegriCloud