forked from OSchip/llvm-project
parent
11a827471e
commit
12233fd97e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue