1 |
319 |
jeremybenn |
/* { dg-do compile { target ia64*-hp-hpux* } } */
|
2 |
|
|
|
3 |
|
|
/* Test that __fpreg is distinct from any other builtin type. */
|
4 |
|
|
|
5 |
|
|
extern float fr1; /* { dg-message "note: previous declaration of " } */
|
6 |
|
|
extern __fpreg fr1; /* { dg-error "" } */
|
7 |
|
|
extern double fr2; /* { dg-message "note: previous declaration of " } */
|
8 |
|
|
extern __fpreg fr2; /* { dg-error "" } */
|
9 |
|
|
extern long double fr3; /* { dg-message "note: previous declaration of " } */
|
10 |
|
|
extern __fpreg fr3; /* { dg-error "" } */
|
11 |
|
|
extern __float80 fr4; /* { dg-message "note: previous declaration of " } */
|
12 |
|
|
extern __fpreg fr4; /* { dg-error "" } */
|
13 |
|
|
extern __float128 fr5; /* { dg-message "note: previous declaration of " } */
|
14 |
|
|
extern __fpreg fr5; /* { dg-error "" } */
|
15 |
|
|
|
16 |
|
|
/* Test that __float80 is distinct from any other builtin type. */
|
17 |
|
|
|
18 |
|
|
extern float f801; /* { dg-message "note: previous declaration of " } */
|
19 |
|
|
extern __float80 f801; /* { dg-error "" } */
|
20 |
|
|
extern double f802; /* { dg-message "note: previous declaration of " } */
|
21 |
|
|
extern __float80 f802; /* { dg-error "" } */
|
22 |
|
|
extern long double f803; /* { dg-message "note: previous declaration of " } */
|
23 |
|
|
extern __float80 f803; /* { dg-error "" } */
|
24 |
|
|
extern __fpreg f804; /* { dg-message "note: previous declaration of " } */
|
25 |
|
|
extern __float80 f804; /* { dg-error "" } */
|
26 |
|
|
extern __float128 f805; /* { dg-message "note: previous declaration of " } */
|
27 |
|
|
extern __float80 f805; /* { dg-error "" } */
|
28 |
|
|
|
29 |
|
|
/* Test that __float128 is distinct from any other builtin type --
|
30 |
|
|
except "long double", for which it is a synonym. */
|
31 |
|
|
|
32 |
|
|
extern float f1281; /* { dg-message "note: previous declaration of " } */
|
33 |
|
|
extern __float128 f1281; /* { dg-error "" } */
|
34 |
|
|
extern double f1282; /* { dg-message "note: previous declaration of " } */
|
35 |
|
|
extern __float128 f1282; /* { dg-error "" } */
|
36 |
|
|
extern long double f1283;
|
37 |
|
|
extern __float128 f1283;
|
38 |
|
|
extern __fpreg f1284; /* { dg-message "note: previous declaration of " } */
|
39 |
|
|
extern __float128 f1284; /* { dg-error "" } */
|
40 |
|
|
extern __float80 f1285; /* { dg-message "note: previous declaration of " } */
|
41 |
|
|
extern __float128 f1285; /* { dg-error "" } */
|