Add test case for extern array
commit488f14955196fab95bb3a834c9979a24cc4cb390
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 3 Apr 2014 18:17:11 +0000 (3 11:17 -0700)
committerChristopher Li <sparse@chrisli.org>
Thu, 3 Apr 2014 18:23:22 +0000 (3 11:23 -0700)
tree138106933673f6af13c975585eed899d944aa85d
parent6e71132697e13a56625bac0bc51392e8f819c6de
Add test case for extern array

Has report this bug which fix by Linus in the previous commit.
Sparse will report "cannot size expression" on the array size.
It is cause by the second extern declare with imcompleted size.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Christopher Li <sparse@chrisli.org>
validation/extern-array.c [new file with mode: 0644]