// RUN: %clang_cc1 -fsyntax-only -fcxx-exceptions -verify -pedantic -std=c++11 %s
int align_illegal alignas; //expected-error {{requested alignment is not a power of 2}}
char align_big alignas;
int align_small alignas; // expected-error {{requested alignment is less than minimum}}
int align_multiple alignas alignas alignas;
alignas int align_before;
;
void
;
;
;
; // expected-error {{pack expansion does not contain any unexpanded parameter packs}}
;
outer<int>::inner<short, double> mismatched_packs; // expected-note {{in instantiation of}}
typedef char align_typedef alignas; // expected-error {{'alignas' attribute only applies to variables, data members and tag types}}
using align_alias_template = align_typedef alignas; // expected-error {{'alignas' attribute cannot be applied to types}}
static_assert; // expected-warning{{'alignof' applied to an expression is a GNU extension}}
static_assert; // expected-warning{{'alignof' applied to an expression is a GNU extension}}
static_assert; // expected-warning{{'alignof' applied to an expression is a GNU extension}}
static_assert;
static_assert;
static_assert;
static_assert;
static_assert;
static_assert;
static_assert;
static_assert; // expected-error{{invalid application of 'alignof' to a function type}}
void ;
alignas auto PR19252 = 0;