blob: ee3199d274ddf5976a88a6cd180dd738d7e2953c [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -fexceptions -emit-llvm -o - %s | grep "@foo()" | not grep nounwind
2// RUN: %clang_cc1 -emit-llvm -o - %s | grep "@foo()" | grep nounwind
Daniel Dunbar709c00c2008-08-11 18:40:47 +00003
4int foo(void) {
Mike Stumpc36541e2009-07-21 20:52:43 +00005 return 0;
Daniel Dunbar709c00c2008-08-11 18:40:47 +00006}