1/* { dg-do run } */ 2/* { dg-options "-fsanitize=null -w" } */ 3/* { dg-shouldfail "ubsan" } */ 4 5typedef volatile const _Complex float *T; 6 7int 8main (void) 9{ 10 T t = 0; 11 if (*t) 12 return 42; 13 return 0; 14} 15 16/* { dg-output "load of null pointer of type 'volatile const complex float'\[^\n\r]*(\n|\r\n|\r)" } */ 17