gcc/testsuite/g++.dg/other/i386-7.C
raw| 1 | /* Test that x86intrin.h is usable with -O -pedantic-errors. */ |
| 2 | /* We were using SSE4.2 builtins without the extension available. */ |
| 3 | /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ |
| 4 | /* { dg-options "-O -pedantic-errors" } */ |
| 5 | /* { dg-skip-if "requires hosted libstdc++ for cstdlib malloc" { ! hostedlib } } */ |
| 6 | |
| 7 | #include <x86intrin.h> |
| 8 | |
| 9 | int dummy; |