Make ms-intrin.cpp test require the x86 target.

llvm-svn: 248355
This commit is contained in:
Nico Weber 2015-09-23 00:24:34 +00:00
parent 9def6efd7e
commit a3dd36b6e9
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@
// RUN: -ffreestanding -fsyntax-only -Werror \
// RUN: -isystem %S/Inputs/include %s
// REQUIRES: x86-registered-target
// Intrin.h needs size_t, but -ffreestanding prevents us from getting it from
// stddef.h. Work around it with this typedef.
typedef __SIZE_TYPE__ size_t;