diff options
Diffstat (limited to 'test/array-out-of-bounds.c')
-rw-r--r-- | test/array-out-of-bounds.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/test/array-out-of-bounds.c b/test/array-out-of-bounds.c deleted file mode 100644 index 1f20c0c..0000000 --- a/test/array-out-of-bounds.c +++ /dev/null @@ -1,9 +0,0 @@ -int main() { - int x[2] = {1, 2}; - int y[2] = {3, 4}; - x[2] = 0; - int sum = 0; - for(int i=0; i<2; i++) - sum += (x[i] * y[i]); - return sum; -} |