Add new test to verify that the array index, limit, and stride are
[official-gcc.git] / gcc / testsuite / gcc.dg / inline-22.c
blob1785e1ce6d5f49b6f3e3e5a452eaa9ae887d9467
1 /* { dg-do compile } */
2 /* { dg-options "-funit-at-a-time -Wno-attributes" } */
3 /* Verify we can inline without a complete prototype and with promoted
4 arguments. See also PR32492. */
5 __attribute__((always_inline)) void f1() {}
6 __attribute__((always_inline)) void f2(char x) {}
7 void f3() { f1(); f2(0); }