Unified · Split
| @@ -159,6 +159,16 @@ int test12(void) · 158 unmodified lines | ||
| 159 | 159 | return 0; |
| 160 | 160 | } |
| 161 | 161 | |
| 162 | +/* error */ | |
| 163 | +int test13(void) | |
| 164 | +{ | |
| 165 | + char pad1 = 0; | |
| 166 | + char tab[10]; | |
| 167 | + char pad2 = 0; | |
| 168 | + memset(tab, 'a', sizeof(tab)); | |
| 169 | + return strlen(tab); | |
| 170 | +} | |
| 171 | + | |
| 162 | 172 | int (*table_test[])(void) = { |
| 163 | 173 | test1, |
| 164 | 174 | test1, |
| @@ -173,6 +183,7 @@ int (*table_test[])(void) = { · 8 unmodified lines | ||
| 173 | 183 | test10, |
| 174 | 184 | test11, |
| 175 | 185 | test12, |
| 186 | + test13, | |
| 176 | 187 | }; |
| 177 | 188 | |
| 178 | 189 | int main(int argc, char **argv) |