blob: fb2d49381cdaa1df6ff17dfb47b9634ff946f15c [file] [log] [blame]
/* { dg-do run } */
/* { dg-options "-fsanitize=null -w" } */
/* { dg-shouldfail "ubsan" } */
typedef volatile const _Complex float *T;
int
main (void)
{
T t = 0;
if (*t)
return 42;
return 0;
}
/* { dg-output "load of null pointer of type 'volatile const complex float'" } */