Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gcc4 / 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" } */