Author: ddunbar
Date: Mon Aug 11 13:40:47 2008
New Revision: 54647

URL: http://llvm.org/viewvc/llvm-project?rev=54647&view=rev
Log:
Add test case for -fexceptions

Added:
    cfe/trunk/test/CodeGen/unwind-attr.c

Added: cfe/trunk/test/CodeGen/unwind-attr.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/unwind-attr.c?rev=54647&view=auto

==============================================================================
--- cfe/trunk/test/CodeGen/unwind-attr.c (added)
+++ cfe/trunk/test/CodeGen/unwind-attr.c Mon Aug 11 13:40:47 2008
@@ -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) {
+}


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to