]> granicus.if.org Git - clang/commit
Declaring local static in global block
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 30 Nov 2010 23:07:14 +0000 (23:07 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 30 Nov 2010 23:07:14 +0000 (23:07 +0000)
commitfaa5bfcaaf6fc5a21ae112919d368f2636c58768
tree1841292232f107a7a888b00eb746b438bdb1df10
parent26e10bea3d2e9d2979194890e51b98ecea165a96
Declaring local static in global block
literal declaration caused crash in CodeGen.
This patch fixes it. pr8707

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120486 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDecl.cpp
test/CodeGen/blockwithlocalstatic.c [new file with mode: 0644]