redzone.c revision ea285162342df160e7860e26528bc7110bc6c0cd
1// RUN: %clang -ccc-host-triple i386-unknown-unknown -mno-red-zone %s -S -emit-llvm -o %t.log
2// RUN: grep 'noredzone' %t.log
3// RUN: %clang -ccc-host-triple i386-unknown-unknown -mred-zone %s -S -emit-llvm -o %t.log
4// RUN: grep -v 'noredzone' %t.log
5
6int foo() { return 42; }
7