From: Joseph Myers Date: Fri, 20 Jun 2008 20:55:02 +0000 (+0100) Subject: * gcc.dg/inline-31.c: New test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9bfb600a167fe945c7cc2fed02a95fb82e11c2f;p=gcc.git * gcc.dg/inline-31.c: New test. From-SVN: r136993 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9e70eb671d7..71de4be63ce 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-06-20 Joseph Myers + + * gcc.dg/inline-31.c: New test. + 2008-06-19 Jerry DeLisle * gfortran.dg/fmt_l.f90: Fix end of line test pattern. diff --git a/gcc/testsuite/gcc.dg/inline-31.c b/gcc/testsuite/gcc.dg/inline-31.c new file mode 100644 index 00000000000..1d9a2212e10 --- /dev/null +++ b/gcc/testsuite/gcc.dg/inline-31.c @@ -0,0 +1,9 @@ +/* { dg-do compile } */ +/* { dg-options "-std=c99 -pedantic-errors" } */ +inline int f (void) { return 0; } + +void +g (void) +{ + extern int f(); +}