Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/pr91710.c

raw
1 /* PR target/91710 */
2 /* { dg-do compile } */
3
4 struct S { unsigned int i:4; };
5
6 unsigned int test1(struct S s) { /* { dg-bogus "parameter passing for argument of type" } */
7 return s.i;
8 }
9
10 unsigned int test2(unsigned x, struct S s) { /* { dg-bogus "parameter passing for argument of type" } */
11 return x - s.i;
12 }
13
14 unsigned int test3(unsigned x, unsigned y, struct S s) { /* { dg-bogus "parameter passing for argument of type" } */
15 return x - y - s.i;
16 }