clang/test/Headers/x86intrin.cpp
raw| 1 | // RUN: %clang_cc1 -fsyntax-only -ffreestanding %s -verify |
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | // XFAIL: target=arm64ec-pc-windows-msvc |
| 5 | // These intrinsics are not yet implemented for Arm64EC. |
| 6 | |
| 7 | #if defined(i386) || defined(__x86_64__) |
| 8 | |
| 9 | // Include the metaheader that includes all x86 intrinsic headers. |
| 10 | extern "C++" { |
| 11 | #include <x86intrin.h> |
| 12 | } |
| 13 | |
| 14 | #endif |