llvm-project/clang/test/Driver/redzone.c

7 lines
286 B
C
Raw Normal View History

2009-09-15 04:21:18 +08:00
// RUN: clang -ccc-host-triple i386-unknown-unknown -mno-red-zone %s -S -emit-llvm -o %t.log &&
// RUN: grep 'noredzone' %t.log &&
2009-09-15 04:21:18 +08:00
// RUN: clang -ccc-host-triple i386-unknown-unknown -mred-zone %s -S -emit-llvm -o %t.log &&
// RUN: grep -v 'noredzone' %t.log
int foo() { return 42; }