summaryrefslogtreecommitdiff
path: root/clang/test/Driver/redzone.c
blob: 7d6d424679524029e4f36ae10a716df2722f05d0 (about) (plain)
1
2
3
4
5
6
// RUN: %clang -target i386-unknown-unknown -mno-red-zone %s -S -emit-llvm -o %t.log
// RUN: grep 'noredzone' %t.log
// RUN: %clang -target i386-unknown-unknown -mred-zone %s -S -emit-llvm -o %t.log
// RUN: grep -v 'noredzone' %t.log 

int foo() { return 42; }