// RUN: %clang_cc1 -std=c++11 -verify %s -triple x86_64-linux-gnu
alignas void ; // expected-error {{'alignas' attribute only applies to variables, data members and tag types}}
alignas unsigned char c; // expected-note {{previous}}
extern unsigned char c;
alignas extern unsigned char c; // expected-error {{different alignment}}