]> granicus.if.org Git - clang/commit
[analyzer] Add a test for PR13927 "offsetof replacement flagged as null deref"
authorJordan Rose <jordan_rose@apple.com>
Mon, 1 Oct 2012 19:07:19 +0000 (19:07 +0000)
committerJordan Rose <jordan_rose@apple.com>
Mon, 1 Oct 2012 19:07:19 +0000 (19:07 +0000)
commit75c5e6df52e055537cf92687cf80fe644233381f
tree0f7a76f156ec8fe9bc34a7f0e97508d490710e0a
parentd27a368f4800b447b970b7c438d0fb4da00838dc
[analyzer] Add a test for PR13927 "offsetof replacement flagged as null deref"

This seems to be legal according to C11 6.5.3.2.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164959 91177308-0d34-0410-b5e6-96231b3b80d8
test/Analysis/array-struct.c