// RUN: %clang_cc1 -std=c++11 -triple i386-apple-darwin9 -fsyntax-only -verify -fclang-abi-compat=7 %s // expected-no-diagnostics using size_t = decltype(sizeof(0)); template struct check_alignment { using type = T; static type value; static_assert(__alignof__(value) == Preferred, "__alignof__(value) != Preferred"); static_assert(__alignof__(type) == Preferred, "__alignof__(type) != Preferred"); static_assert(alignof(type) == Preferred, "alignof(type) != Preferred"); }; // PR3433 template struct check_alignment; template struct check_alignment; template struct check_alignment; // PR6362 template struct check_alignment; enum big_enum { x = 18446744073709551615ULL }; template struct check_alignment;