mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-13 20:01:00 +00:00

Remove the -Wno-ignored-attributes. Add -fno-lax-vector-conversions Also use -ffreestanding instead of defining _MM_MALLOC_H. llvm-svn: 355659
9 lines
286 B
C++
9 lines
286 B
C++
// Make sure the intrinsic headers compile cleanly with no warnings or errors.
|
|
|
|
// RUN: %clang_cc1 -ffreestanding -triple x86_64-unknown-unknown -Wsystem-headers \
|
|
// RUN: -fsyntax-only -fno-lax-vector-conversions -x c++ -verify %s
|
|
|
|
// expected-no-diagnostics
|
|
|
|
#include <x86intrin.h>
|