xref: /llvm-project/clang/test/Headers/x86intrin.cpp (revision 727ab8a80346eeec39e13293f5dc01cc82bb1d95)
1 // RUN: %clang_cc1 -fsyntax-only -ffreestanding %s -verify
2 // expected-no-diagnostics
3 
4 #if defined(i386) || defined(__x86_64__)
5 
6 // Include the metaheader that includes all x86 intrinsic headers.
7 extern "C++" {
8 #include <x86intrin.h>
9 }
10 
11 #endif
12