diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-6.C')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-6.C | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-6.C b/gcc-4.8.1/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-6.C deleted file mode 100644 index 6f935c854..000000000 --- a/gcc-4.8.1/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-6.C +++ /dev/null @@ -1,9 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-Wstrict-aliasing=2 -O2" } */ - -int foo () -{ - char buf[8]; - return *((int *)buf); /* { dg-warning "strict-aliasing" } */ -} - |