Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / functionalities / ubsan / basic / main.c
blob2fc9663d57571934cfe9f6627cc95440d6bdb65a
1 int main() {
2 int data[4];
3 int result = *(int *)(((char *)&data[0]) + 2); // align line
5 int *p = data + 5; // Index 5 out of bounds for type 'int [4]'
6 *p = data + 5;
7 *p = data + 5;
8 *p = data + 5;
9 *p = data + 5;
10 *p = data + 5;
11 *p = data + 5;
12 *p = data + 5;
13 *p = data + 5;
15 return 0;