xref: /aosp_15_r20/external/stg/test_cases/diff_tests/composite/forward.1.c (revision 9e3b08ae94a55201065475453d799e8b1378bea6)
1 enum E { x = 1 };
2 enum F;
3 struct S { int x; };
4 struct T;
5 union U { int x; };
6 union V;
7 
8 // bodies differ due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112372
f1(enum E * a,enum F * b,struct S * c,struct T * d,union U * e,union V * f)9 int f1(enum E* a, enum F* b, struct S* c, struct T* d, union U* e, union V* f) {
10   (void)a;
11   (void)b;
12   (void)c;
13   (void)d;
14   (void)e;
15   (void)f;
16   return 1;
17 };
18 
19 struct K;
20 union L;
21 union M;
22 enum N;
23 enum O;
24 struct P;
25 
f2(struct K * v0,union L * v1,union M * v2,enum N * v3,enum O * v4,struct P * v5)26 int f2(struct K* v0, union L* v1, union M* v2, enum N* v3, enum O* v4, struct P* v5) {
27   (void)v0;
28   (void)v1;
29   (void)v2;
30   (void)v3;
31   (void)v4;
32   (void)v5;
33   return 2;
34 };
35