Add test case for -fexceptions

llvm-svn: 54647
This commit is contained in:
Daniel Dunbar 2008-08-11 18:40:47 +00:00
parent 127bb03b8c
commit 2de4b5e2fc
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
// RUN: clang -fexceptions -emit-llvm -o - %s | grep "@foo() {" | count 1
// RUN: clang -emit-llvm -o - %s | grep "@foo() nounwind {" | count 1
int foo(void) {
}