Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s |
Eli Friedman | c508203 | 2009-02-22 03:31:23 +0000 | [diff] [blame] | 2 | |
| 3 | // PR3433 |
| 4 | double g1; |
| 5 | short chk1[__alignof__(g1) == 8 ? 1 : -1]; |
Eli Friedman | 1eed602 | 2009-05-25 21:27:19 +0000 | [diff] [blame] | 6 | short chk2[__alignof__(double) == 8 ? 1 : -1]; |
| 7 | |
| 8 | long long g2; |
| 9 | short chk1[__alignof__(g2) == 8 ? 1 : -1]; |
| 10 | short chk2[__alignof__(long long) == 8 ? 1 : -1]; |
| 11 | |
| 12 | _Complex double g3; |
| 13 | short chk1[__alignof__(g3) == 8 ? 1 : -1]; |
| 14 | short chk2[__alignof__(_Complex double) == 8 ? 1 : -1]; |