1/* { dg-do assemble } */
2/* { dg-require-effective-target 3dnow } */
3/* { dg-options "-O2 -Werror-implicit-function-declaration -m3dnow" } */
4
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.  */
9
10#define extern
11#define __inline
12
13#include <mm3dnow.h>
14