2 // RUN: %clang_cc1 -ffreestanding -fsyntax-only -std=c++11 %s
3 // RUN: %clang_cc1 -ffreestanding -fsyntax-only -std=c++11 -fmodules -fmodules-cache-path=%t %s
4 // RUN: %clang_cc1 -ffreestanding -fsyntax-only -std=c++11 -fmodules -fmodules-cache-path=%t -fmodules-local-submodule-visibility %s
6 // This test fails on systems with older OS X 10.9 SDK headers, see PR18322.
11 #error alignas should not be defined in C++
15 #error alignof should not be defined in C++
18 static_assert(__alignas_is_defined
, "");
19 static_assert(__alignof_is_defined
, "");
25 #error SIZE_MAX should be defined in C++