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

6 lines
163 B
C
Raw Normal View History

// RUN: clang -fexceptions -emit-llvm -o - %s | grep "@foo() {" | count 1
// RUN: clang -emit-llvm -o - %s | grep "@foo() nounwind {" | count 1
int foo(void) {
}