blob: 54fe350ea5b20f2dac03100ad097762c25fc18ae [file] [log] [blame]
// RUN: %clang -fsyntax-only -std=c++11 %s
// RUN: %clang -fsyntax-only -std=c++11 -fmodules %s
#include <stdalign.h>
#if defined alignas
#error alignas should not be defined in C++
#endif
#if defined alignof
#error alignof should not be defined in C++
#endif
static_assert(__alignas_is_defined, "");
static_assert(__alignof_is_defined, "");
#include <stdint.h>
#ifndef SIZE_MAX
#error SIZE_MAX should be defined in C++
#endif