2018-06-20 09:05:09 +08:00
|
|
|
// Make sure the intrinsic headers compile cleanly with no warnings or errors.
|
|
|
|
|
2022-05-07 22:23:29 +08:00
|
|
|
// RUN: %clang_cc1 -ffreestanding -triple i386-unknown-unknown \
|
2022-05-13 19:37:30 +08:00
|
|
|
// RUN: -Wextra -Werror -Wsystem-headers -Wsign-conversion -Wcast-qual -Wdocumentation -Wdocumentation-pedantic -Wdocumentation-unknown-command \
|
2022-05-08 17:53:28 +08:00
|
|
|
// RUN: -fsyntax-only -fretain-comments-from-system-headers -flax-vector-conversions=none -x c++ -verify %s
|
2022-05-07 22:23:29 +08:00
|
|
|
|
|
|
|
// RUN: %clang_cc1 -ffreestanding -triple x86_64-unknown-unknown \
|
2022-05-13 19:37:30 +08:00
|
|
|
// RUN: -Wextra -Werror -Wsystem-headers -Wsign-conversion -Wcast-qual -Wdocumentation -Wdocumentation-pedantic -Wdocumentation-unknown-command \
|
2022-05-08 17:53:28 +08:00
|
|
|
// RUN: -fsyntax-only -fretain-comments-from-system-headers -flax-vector-conversions=none -x c++ -verify %s
|
2018-06-20 09:05:09 +08:00
|
|
|
|
|
|
|
// expected-no-diagnostics
|
|
|
|
|
|
|
|
#include <x86intrin.h>
|