(root)/
gcc-13.2.0/
gcc/
testsuite/
c-c++-common/
ubsan/
null-1.c
       1  /* { dg-do run } */
       2  /* { dg-options "-fsanitize=null -w" } */
       3  /* { dg-shouldfail "ubsan" } */
       4  
       5  int
       6  main (void)
       7  {
       8    int *p = 0;
       9    return *p;
      10  }
      11  
      12  /* { dg-output "load of null pointer of type 'int'" } */