llvm-mirror/test/CFrontend/2008-04-08-NoExceptions.c
Duncan Sands b430cf3b7c Check that bodies and calls but not declarations
are marked nounwind when compiling without
-fexceptions.

llvm-svn: 49393
2008-04-08 19:31:52 +00:00

8 lines
152 B
C

// RUN: %llvmgcc -S -o - %s | grep nounwind | count 2
// RUN: %llvmgcc -S -o - %s | not grep {declare.*nounwind}
void f(void);
void g(void) {
f();
}