blob: 2bc1cc848554fcb5d11ec598b4449cdbb8e22268 [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s
Eli Friedmanc5082032009-02-22 03:31:23 +00002
3// PR3433
4double g1;
5short chk1[__alignof__(g1) == 8 ? 1 : -1];
Eli Friedman1eed6022009-05-25 21:27:19 +00006short chk2[__alignof__(double) == 8 ? 1 : -1];
7
8long long g2;
9short chk1[__alignof__(g2) == 8 ? 1 : -1];
10short chk2[__alignof__(long long) == 8 ? 1 : -1];
11
12_Complex double g3;
13short chk1[__alignof__(g3) == 8 ? 1 : -1];
14short chk2[__alignof__(_Complex double) == 8 ? 1 : -1];