ms-intrin.cpp: add -Werror to the test

llvm-svn: 199450
This commit is contained in:
Hans Wennborg 2014-01-17 01:41:07 +00:00
parent cbcf8ac51a
commit 72005cb59d
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
// RUN: %clang_cc1 -triple i386-pc-win32 -target-cpu pentium4 \
// RUN: -fms-extensions -fms-compatibility -fmsc-version=1700 \
// RUN: -ffreestanding -fsyntax-only %s
// RUN: -ffreestanding -fsyntax-only -Werror %s
// Intrin.h needs size_t, but -ffreestanding prevents us from getting it from
// stddef.h. Work around it with this typedef.