File: fsanitize.cpp

package info (click to toggle)
icecc 1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,520 kB
  • sloc: cpp: 14,058; sh: 3,006; ansic: 767; xml: 744; makefile: 231; asm: 2
file content (13 lines) | stat: -rw-r--r-- 193 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
void test_fsanitize_function()
    {
    int* arr = new int[10];
    delete[] arr;
    int r = arr[ 0 ];
    (void)r;
    }

int main()
    {
    test_fsanitize_function();
    return 0;
    }