blob: e689c0eaebea6b882966f163f90b8c80b57ac007 [file] [log] [blame]
Eli Friedman0ee57322009-02-22 02:56:25 +00001// RUN: clang -triple i386-apple-darwin9 -fsyntax-only -verify %s
Daniel Dunbar3ed413a2009-02-16 23:37:57 +00002
3int x __attribute__((aligned(3))); // expected-error {{requested alignment is not a power of 2}}
Eli Friedman0ee57322009-02-22 02:56:25 +00004
5// PR3254
6short g0[3] __attribute__((aligned));
7short g0_chk[__alignof__(g0) == 16 ? 1 : -1];