blob: 995fc6528de7f4cbcc5548d85e7e54fa8a590e5b [file] [log] [blame]
// RUN: %clang -fsyntax-only -std=c++11 %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, "");