Fix ICE in substring-handling building 502.gcc_r (PR 87562)
[official-gcc.git] / gcc / testsuite / gcc.dg / winline-10.c
blobdfc868fa85a2b9e35709235dc5025ed403064a31
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-message "called from here" } */
17 void f (int x); /* { dg-warning "follows non-prototype definition" } */