| Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // 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 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 | } |