Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s |
Daniel Dunbar | 396b2a2 | 2009-02-16 23:37:57 +0000 | [diff] [blame] | 2 | |
3 | int x __attribute__((aligned(3))); // expected-error {{requested alignment is not a power of 2}} | ||||
Eli Friedman | dcdafb6 | 2009-02-22 02:56:25 +0000 | [diff] [blame] | 4 | |
5 | // PR3254 | ||||
6 | short g0[3] __attribute__((aligned)); | ||||
7 | short g0_chk[__alignof__(g0) == 16 ? 1 : -1]; |