16 lines · cpp
1// Make sure the intrinsic headers compile cleanly with no warnings or errors.2 3// RUN: %clang_cc1 -ffreestanding -triple i386-unknown-unknown \4// RUN: -Wextra -Werror -Wsystem-headers -Wsign-conversion -Wcast-qual -Wdocumentation -Wdocumentation-pedantic -Wdocumentation-unknown-command \5// RUN: -fsyntax-only -fretain-comments-from-system-headers -flax-vector-conversions=none -x c++ -verify %s6 7// RUN: %clang_cc1 -ffreestanding -triple x86_64-unknown-unknown \8// RUN: -Wextra -Werror -Wsystem-headers -Wsign-conversion -Wcast-qual -Wdocumentation -Wdocumentation-pedantic -Wdocumentation-unknown-command \9// RUN: -fsyntax-only -fretain-comments-from-system-headers -flax-vector-conversions=none -x c++ -verify %s10 11// expected-no-diagnostics12 13#include "system_reserved_names.h"14 15#include <x86intrin.h>16