[cfe-commits] r143704 - /cfe/trunk/test/CodeGen/debug-info-static.c
Devang Patel
dpatel at apple.com
Fri Nov 4 09:57:26 PDT 2011
Author: dpatel
Date: Fri Nov 4 11:57:26 2011
New Revision: 143704
URL: http://llvm.org/viewvc/llvm-project?rev=143704&view=rev
Log:
Add new test.
Added:
cfe/trunk/test/CodeGen/debug-info-static.c
Added: cfe/trunk/test/CodeGen/debug-info-static.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/debug-info-static.c?rev=143704&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/debug-info-static.c (added)
+++ cfe/trunk/test/CodeGen/debug-info-static.c Fri Nov 4 11:57:26 2011
@@ -0,0 +1,8 @@
+// RUN: %clang_cc1 -g -emit-llvm -o - %s | FileCheck %s
+
+// CHECK: xyzzy} ; [ DW_TAG_variable ]
+void f(void)
+{
+ static int xyzzy;
+ xyzzy += 3;
+}
More information about the cfe-commits
mailing list