Debian Codegraph @

gcc/testsuite/gcc.dg/dfp/pr118560.c

raw
1 /* PR target/118560 */
2 /* { dg-do compile } */
3 /* { dg-options "-O1" } */
4
5 struct { _Decimal32 a; } b;
6 void foo (int, _Decimal32);
7
8 #define B(n) \
9 void \
10 bar##n (int, _Decimal32 d) \
11 { \
12 foo (n, 1); \
13 b.a = d; \
14 }
15
16 #define C(n) B(n##0) B(n##1) B(n##2) B(n##3) B(n##4) B(n##5) B(n##6) B(n##7) B(n##8) B(n##9)
17 C(1) C(2) C(3) C(4) C(5)