add clang
This commit is contained in:
parent
4715742aa8
commit
9a4b261179
890 changed files with 229323 additions and 20 deletions
13
05/tcc-final/tests/tests2/126_bound_global.c
Normal file
13
05/tcc-final/tests/tests2/126_bound_global.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
/* test bound checking code without -run */
|
||||
|
||||
int arr[10];
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i <= sizeof(arr)/sizeof(arr[0]); i++)
|
||||
arr[i] = 0;
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue