blob: 1148ba10315ee47205f769b6991b09cb6f5c9912 [file] [log] [blame]
Daniel Dunbar4fcfde42009-11-08 01:45:36 +00001// RUN: clang-cc -fexceptions -emit-llvm -o - %s | grep "@foo()" | not grep nounwind
Chris Lattnerae0b2432009-06-28 19:49:49 +00002// 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}