Added comments to test case.

llvm-svn: 70374
This commit is contained in:
Zhongxing Xu 2009-04-29 05:59:48 +00:00
parent 11a827471e
commit 12233fd97e
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region --verify %s
// Test if the 'storage' region gets properly initialized after it is cast to
// 'struct sockaddr *'.
#include <sys/socket.h>
void f(int sock) {
struct sockaddr_storage storage;