unwind-attr.c revision c36541e7bfa69cc63e2668a986bc99117559c545
1// RUN: clang-cc -fexceptions -emit-llvm -o - %s | grep "@foo()" | not grep nounwind &&
2// RUN: clang-cc -emit-llvm -o - %s | grep "@foo()" | grep nounwind
3
4int foo(void) {
5  return 0;
6}
7