commit | 040118041319ded8f3ed8891506472aa3eb21280 | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Thu Oct 25 22:19:13 2007 +0000 |
committer | Devang Patel <dpatel@apple.com> | Thu Oct 25 22:19:13 2007 +0000 |
tree | dd9cc7c127cde2ca2b197a655d6010edb1a8972d | |
parent | f3e2d538870f383cd5dc13ca50b6b90c7e8e5041 [diff] [blame] |
Fix "strbuf += stufflen;" crash. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43365 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/compound.c b/test/CodeGen/compound.c index 778a5ce..0909565 100644 --- a/test/CodeGen/compound.c +++ b/test/CodeGen/compound.c
@@ -14,3 +14,7 @@ short x; void test2(char c) { x += c; } +void foo(char *strbuf) { + int stufflen = 4; + strbuf += stufflen; +}