From: Zhongxing Xu Date: Wed, 29 Apr 2009 05:59:48 +0000 (+0000) Subject: Added comments to test case. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1080ed5016db4466fbe69d771c05672de39ec3e;p=clang Added comments to test case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70374 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Analysis/casts.c b/test/Analysis/casts.c index eb85231802..94a1eac0a3 100644 --- a/test/Analysis/casts.c +++ b/test/Analysis/casts.c @@ -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 void f(int sock) { struct sockaddr_storage storage;