summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/inline2.c
blob: ede41049274bea830b40cdff7aad065616564457 (plain)
1
2
3
4
5
/* { dg-do compile } */
/* { dg-options "-Wall -std=gnu89" } */
/* This test should compile successfully.  */
extern inline int foo (void) { return 0; }
inline int foo (void) { return 1; }