aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/2009-07-31-DbgDeclare.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/2009-07-31-DbgDeclare.c')
-rw-r--r--test/CodeGen/2009-07-31-DbgDeclare.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/2009-07-31-DbgDeclare.c b/test/CodeGen/2009-07-31-DbgDeclare.c
new file mode 100644
index 000000000000..da49afedbc7a
--- /dev/null
+++ b/test/CodeGen/2009-07-31-DbgDeclare.c
@@ -0,0 +1,5 @@
+// RUN: clang-cc -S -g -o %t.s %s
+void foo() {
+ int i = 0;
+ i = 42;
+}