xref: /aosp_15_r20/external/stg/test_cases/diff_tests/qualified/useless.0.c (revision 9e3b08ae94a55201065475453d799e8b1378bea6)
1 struct foo {
2 };
3 
bar(struct foo y)4 int bar(struct foo y) {
5   (void) y;
6   return 0;
7 }
8 
bar_1(const volatile struct foo * y)9 int bar_1(const volatile struct foo* y) {
10   (void) y;
11   return 1;
12 }
13 
baz(int (* y)(struct foo))14 int baz(int (*y)(struct foo)) {
15   (void) y;
16   return 2;
17 }
18 
19 int (*quux)(struct foo) = &bar;
20