PR c/64856
[official-gcc.git] / gcc / testsuite / gcc.dg / winline-10.c
blob2106253fcf278d5108c36f55f68b90d15d3062e5
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Winline" } */
4 struct s { int a; };
6 inline void f (x) /* { dg-warning "inlining .* mismatched arg" "" } */
7 int x;
9 asm ("");
12 void g (struct s x)
14 f (x); /* { dg-warning "called from here" "" } */
17 void f (int x); /* { dg-warning "follows non-prototype definition" } */