]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/winline-10.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / winline-10.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Winline" } */
3
4 struct s { int a; };
5
6 inline void f (x) /* { dg-warning "inlining .* mismatched arg" "" } */
7 int x;
8 {
9 asm ("");
10 }
11
12 void g (struct s x)
13 {
14 f (x); /* { dg-message "called from here" } */
15 }
16
17 void f (int x); /* { dg-warning "follows non-prototype definition" } */