Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -fexceptions -emit-llvm -o - %s | grep "@foo()" | not grep nounwind |
Chris Lattner | ae0b243 | 2009-06-28 19:49:49 +0000 | [diff] [blame] | 2 | // RUN: clang-cc -emit-llvm -o - %s | grep "@foo()" | grep nounwind |
Daniel Dunbar | 709c00c | 2008-08-11 18:40:47 +0000 | [diff] [blame] | 3 | |
4 | int foo(void) { | ||||
Mike Stump | c36541e | 2009-07-21 20:52:43 +0000 | [diff] [blame] | 5 | return 0; |
Daniel Dunbar | 709c00c | 2008-08-11 18:40:47 +0000 | [diff] [blame] | 6 | } |