diff options
Diffstat (limited to 'test/Driver/stack-arg-probe.c')
-rw-r--r-- | test/Driver/stack-arg-probe.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Driver/stack-arg-probe.c b/test/Driver/stack-arg-probe.c new file mode 100644 index 000000000000..97d2396dbebe --- /dev/null +++ b/test/Driver/stack-arg-probe.c @@ -0,0 +1,7 @@ +// RUN: %clang -### %s 2>&1 | FileCheck %s -check-prefix=STACKPROBE +// RUN: %clang -### -mno-stack-arg-probe -mstack-arg-probe %s 2>&1 | FileCheck %s -check-prefix=STACKPROBE +// RUN: %clang -### -mstack-arg-probe -mno-stack-arg-probe %s 2>&1 | FileCheck %s -check-prefix=NO-STACKPROBE +// REQUIRES: clang-driver + +// NO-STACKPROBE: -mno-stack-arg-probe +// STACKPROBE-NOT: -mno-stack-arg-probe |