[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / redzone.c
blob1ab71716fe7283ddbf8012d75c4e1b2e4b0e2d4b
1 // RUN: %clang -target i386-unknown-unknown -mno-red-zone %s -S -emit-llvm -o %t.log
2 // RUN: grep 'noredzone' %t.log
3 // RUN: %clang -target i386-unknown-unknown -mred-zone %s -S -emit-llvm -o %t.log
4 // RUN: grep -v 'noredzone' %t.log
6 int foo(void) { return 42; }