[cfe-commits] r54647 - /cfe/trunk/test/CodeGen/unwind-attr.c

Daniel Dunbar daniel at zuster.org
Mon Aug 11 13:40:47 CDT 2008


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) {
+}




More information about the cfe-commits mailing list