[analyzer] Add static initializer test case (from <rdar://problem/13227740>).