blob: dba12433c66affa6ad4aac6b21de155bfa6184e1 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-skip-if "" { *-*-* } { "*" } { "-O2" } } */
/* { dg-options "-fsanitize=undefined" } */
void
foo (unsigned long ul)
{
unsigned int u;
u = *(unsigned long *) ul;
}