2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / ia64-types2.c
blob30e4ddbf87c44f1f52f1a27c4a4d8b1cdb40fa4e
1 /* { dg-do run { target ia64*-hp-hpux* } } */
2 /* { dg-options } */
4 /* Test that the sizes and alignments of the extra floating-point
5 types are correct. */
7 int main () {
8 if (sizeof (__fpreg) != 16)
9 return 1;
10 if (__alignof__ (__fpreg) != 16)
11 return 2;
13 if (sizeof (__float80) != 16)
14 return 3;
15 if (__alignof__ (__float80) != 16)
16 return 4;
18 return 0;