blob: 2d1a95bde1295c4a43442a9f88a3b81364b7aab9 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-Wstrict-aliasing=2 -O2" } */
int foo ()
{
char buf[8];
return *((int *)buf); /* { dg-bogus "strict-aliasing" } */
}