llvm-project/clang/test/CodeGen/unwind-attr.c

7 lines
188 B
C

// RUN: clang-cc -fexceptions -emit-llvm -o - %s | grep "@foo()" | not grep nounwind &&
// RUN: clang-cc -emit-llvm -o - %s | grep "@foo()" | grep nounwind
int foo(void) {
return 0;
}