blob: 86036f94b98138c110c10bcdd01548bb1576b82a [file] [log] [blame]
Chris Lattnerae0b2432009-06-28 19:49:49 +00001// 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
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}