1 |
298 |
jeremybenn |
/* { dg-do compile } */
|
2 |
|
|
/* { dg-options "-std=gnu99" } */
|
3 |
|
|
|
4 |
|
|
/* The suffix for a fixed-point constant must use a specific order
|
5 |
|
|
for the pieces, and a long long length specifier must use the
|
6 |
|
|
same case (ll or LL).
|
7 |
|
|
|
8 |
|
|
These are invalid for all targets, not just those that support
|
9 |
|
|
fixed-point types. */
|
10 |
|
|
|
11 |
|
|
long double lLr = 0.5lLr; /* { dg-error "invalid suffix" } */
|
12 |
|
|
long double lLR = 0.5lLR; /* { dg-error "invalid suffix" } */
|
13 |
|
|
long double Llr = 0.5Llr; /* { dg-error "invalid suffix" } */
|
14 |
|
|
long double LlR = 0.5LlR; /* { dg-error "invalid suffix" } */
|
15 |
|
|
long double ulLr = 0.5ulLr; /* { dg-error "invalid suffix" } */
|
16 |
|
|
long double ulLR = 0.5ulLR; /* { dg-error "invalid suffix" } */
|
17 |
|
|
long double uLlr = 0.5uLlr; /* { dg-error "invalid suffix" } */
|
18 |
|
|
long double uLlR = 0.5uLlR; /* { dg-error "invalid suffix" } */
|
19 |
|
|
long double UlLr = 0.5UlLr; /* { dg-error "invalid suffix" } */
|
20 |
|
|
long double UlLR = 0.5UlLR; /* { dg-error "invalid suffix" } */
|
21 |
|
|
long double ULlr = 0.5ULlr; /* { dg-error "invalid suffix" } */
|
22 |
|
|
long double ULlR = 0.5ULlR; /* { dg-error "invalid suffix" } */
|
23 |
|
|
long double lLk = 0.5lLk; /* { dg-error "invalid suffix" } */
|
24 |
|
|
long double lLK = 0.5lLK; /* { dg-error "invalid suffix" } */
|
25 |
|
|
long double Llk = 0.5Llk; /* { dg-error "invalid suffix" } */
|
26 |
|
|
long double LlK = 0.5LlK; /* { dg-error "invalid suffix" } */
|
27 |
|
|
long double ulLk = 0.5ulLk; /* { dg-error "invalid suffix" } */
|
28 |
|
|
long double ulLK = 0.5ulLK; /* { dg-error "invalid suffix" } */
|
29 |
|
|
long double uLlk = 0.5uLlk; /* { dg-error "invalid suffix" } */
|
30 |
|
|
long double uLlK = 0.5uLlK; /* { dg-error "invalid suffix" } */
|
31 |
|
|
long double UlLk = 0.5UlLk; /* { dg-error "invalid suffix" } */
|
32 |
|
|
long double UlLK = 0.5UlLK; /* { dg-error "invalid suffix" } */
|
33 |
|
|
long double ULlk = 0.5ULlk; /* { dg-error "invalid suffix" } */
|
34 |
|
|
long double ULlK = 0.5ULlK; /* { dg-error "invalid suffix" } */
|