X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/7534721d39f312bb7bd9c6a83e9381062c28d2b6..59a4360f02565d806d4bbd486cfdb5984b726db4:/test/arrayinit.c diff --git a/test/arrayinit.c b/test/arrayinit.c index ff985b9..215f56a 100644 --- a/test/arrayinit.c +++ b/test/arrayinit.c @@ -12,3 +12,6 @@ char cs2[3] = "abcd"; /* gcc warns for this with -Wall */ /* stringliteraltoolon char cs3[3] = "a"; /* stringliteral smaller (not on default) */ char csx[3][3] = { { 'a', 'b', 'c' } , "def", "gasdf" } ; /* 2 errors */ + +int a2[][2] = {{1,2},{3,4},{5,6}}; +int a3[][2] = {{1,2},{3,4,5},{5,6}};