Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / warn / Wstrict-aliasing-1.C
blob3e9db3611ae0dd64ca8089e9f6bb3a241b1c3b31
1 /* { dg-do compile } */
2 /* { dg-options "-Wstrict-aliasing=2 -O2" } */
4 double x;
5 int *foo(void)
7   return (int *)&x; /* { dg-warning "strict-aliasing" } */