OSDN Git Service

Index: gcc/ChangeLog
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / inline-22.c
1 /* { dg-do compile } */
2 /* { dg-options "-funit-at-a-time" } */
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); }