unwind-attr.c revision 709c00cf6e88a1acfe2b27e61c9dc5f7a71e49b9
1// RUN: clang -fexceptions -emit-llvm -o - %s | grep "@foo() {" | count 1
2// RUN: clang -emit-llvm -o - %s | grep "@foo() nounwind {" | count 1
3
4int foo(void) {
5}
6