OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [pr33466.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-std=gnu99" } */
3
 
4
/* Test various invalid constant float suffixes made up of letters of
5
   valid suffixes.  These are invalid regardless of whether the target
6
   compiler supports decimal float or fixed-point types.  */
7
 
8
long double rh = 0.5rh;         /* { dg-error "invalid suffix" } */
9
long double rl = 0.5rl;         /* { dg-error "invalid suffix" } */
10
long double rll = 0.5rll;       /* { dg-error "invalid suffix" } */
11
long double kh = 0.5kh;         /* { dg-error "invalid suffix" } */
12
long double kl = 0.5kl;         /* { dg-error "invalid suffix" } */
13
long double kll = 0.5kll;       /* { dg-error "invalid suffix" } */
14
long double ru = 0.5ru;         /* { dg-error "invalid suffix" } */
15
long double urh = 0.5urh;       /* { dg-error "invalid suffix" } */
16
long double hur = 0.5hur;       /* { dg-error "invalid suffix" } */
17
long double hru = 0.5hru;       /* { dg-error "invalid suffix" } */
18
long double ruh = 0.5ruh;       /* { dg-error "invalid suffix" } */
19
long double rhu = 0.5rhu;       /* { dg-error "invalid suffix" } */
20
long double url = 0.5url;       /* { dg-error "invalid suffix" } */
21
long double lur = 0.5lur;       /* { dg-error "invalid suffix" } */
22
long double lru = 0.5lru;       /* { dg-error "invalid suffix" } */
23
long double rul = 0.5rul;       /* { dg-error "invalid suffix" } */
24
long double rlu = 0.5rlu;       /* { dg-error "invalid suffix" } */
25
long double urll = 0.5urll;     /* { dg-error "invalid suffix" } */
26
long double llur = 0.5llur;     /* { dg-error "invalid suffix" } */
27
long double llru = 0.5llru;     /* { dg-error "invalid suffix" } */
28
long double rull = 0.5rull;     /* { dg-error "invalid suffix" } */
29
long double rllu = 0.5rllu;     /* { dg-error "invalid suffix" } */
30
long double ku = 0.5ku;         /* { dg-error "invalid suffix" } */
31
long double ukh = 0.5ukh;       /* { dg-error "invalid suffix" } */
32
long double huk = 0.5huk;       /* { dg-error "invalid suffix" } */
33
long double hku = 0.5hku;       /* { dg-error "invalid suffix" } */
34
long double kuh = 0.5kuh;       /* { dg-error "invalid suffix" } */
35
long double khu = 0.5khu;       /* { dg-error "invalid suffix" } */
36
long double ukl = 0.5ukl;       /* { dg-error "invalid suffix" } */
37
long double luk = 0.5luk;       /* { dg-error "invalid suffix" } */
38
long double lku = 0.5lku;       /* { dg-error "invalid suffix" } */
39
long double kul = 0.5kul;       /* { dg-error "invalid suffix" } */
40
long double klu = 0.5klu;       /* { dg-error "invalid suffix" } */
41
long double ukll = 0.5ukll;     /* { dg-error "invalid suffix" } */
42
long double lluk = 0.5lluk;     /* { dg-error "invalid suffix" } */
43
long double llku = 0.5llku;     /* { dg-error "invalid suffix" } */
44
long double kull = 0.5kull;     /* { dg-error "invalid suffix" } */
45
long double kllu = 0.5kllu;     /* { dg-error "invalid suffix" } */
46
long double ld = 0.5ld;         /* { dg-error "invalid suffix" } */
47
long double fd = 0.5fd;         /* { dg-error "invalid suffix" } */
48
long double dk = 0.5dk;         /* { dg-error "invalid suffix" } */
49
long double dr = 0.5dr;         /* { dg-error "invalid suffix" } */
50
long double ddw = 0.5ddw;       /* { dg-error "invalid suffix" } */
51
long double ddq = 0.5ddq;       /* { dg-error "invalid suffix" } */
52
long double ddl = 0.5ddl;       /* { dg-error "invalid suffix" } */
53
long double ddf = 0.5ddf;       /* { dg-error "invalid suffix" } */
54
long double ddd = 0.5ddd;       /* { dg-error "invalid suffix" } */
55
long double dw = 0.5dw;         /* { dg-error "invalid suffix" } */
56
long double dq = 0.5dq;         /* { dg-error "invalid suffix" } */
57
long double wd = 0.5wd;         /* { dg-error "invalid suffix" } */
58
long double qd = 0.5qd;         /* { dg-error "invalid suffix" } */
59
long double wdd = 0.5wdd;       /* { dg-error "invalid suffix" } */
60
long double qdd = 0.5qdd;       /* { dg-error "invalid suffix" } */
61
long double ldd = 0.5ldd;       /* { dg-error "invalid suffix" } */
62
long double fdd = 0.5fdd;       /* { dg-error "invalid suffix" } */
63
long double ddi = 0.5ddi;       /* { dg-error "invalid suffix" } */
64
long double idd = 0.5idd;       /* { dg-error "invalid suffix" } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.