1 /* PR c/83222 */
2 
3 const char a = 0x42;
4 const double b = (double) a;
5 const double c = a;
6 double d = (double) a;
7 double e = a;
8 const double f = 1 + (double) a;
9 const double g = 1 + a;
10 double h = 1 + (double) a;
11 double i = 1 + a;
12 double j[] = { (double) a, a, 1 + (double) a, 1 + a };
13 
14 void
foo(void)15 foo (void)
16 {
17   static const double k = (double) a;
18   static const double l = a;
19   static const double m = 1 + (double) a;
20   static const double n = 1 + a;
21 }
22