| 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 %s |
| 6 |
|
| 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 %s |
| 10 |
|
| 11 |
// expected-no-diagnostics |
| 12 |
|
| 13 |
#include "system_reserved_names.h" |
| 14 |
|
| 15 |
#include <x86intrin.h> |