xref: /aosp_15_r20/external/stg/test_cases/diff_tests/composite/forward.0.c (revision 9e3b08ae94a55201065475453d799e8b1378bea6)
1 enum E;
2 enum F { x = 1 };
3 struct S;
4 struct T { int x; };
5 union U;
6 union V { int x; };
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 enum K;
20 enum L;
21 struct M;
22 struct N;
23 union O;
24 union P;
25 
f2(enum K * v0,enum L * v1,struct M * v2,struct N * v3,union O * v4,union P * v5)26 int f2(enum K* v0, enum L* v1, struct M* v2, struct N* v3, union O* v4, union 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