PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / mmx-1.c
blob7078c22ec9a156f2bbf081e57a743ae2de797cb9
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Werror-implicit-function-declaration -mmmx" } */
3 /* { dg-add-options bind_pic_locally } */
5 /* Test that the intrinsics compile with optimization. All of them are
6 defined as inline functions in mmintrin.h that reference the proper
7 builtin functions. Defining away "extern" and "__inline" results in
8 all of them being compiled as proper functions. */
10 #define extern
11 #define __inline
13 #include <mmintrin.h>