| 1 |
/* { dg-additional-options "-fdiagnostics-format=json-file" } */ |
| 2 |
|
| 3 |
/* The custom JSON format doesn't support text art, so this is just a simple |
| 4 |
smoketext. */ |
| 5 |
|
| 6 |
#include <stdint.h> |
| 7 |
|
| 8 |
int32_t arr[10]; |
| 9 |
|
| 10 |
void int_arr_write_element_after_end_off_by_one(int32_t x) |
| 11 |
{ |
| 12 |
arr[10] = x; |
| 13 |
} |