--- Comment #3 from geoffk at gcc dot gnu dot org 2008-01-14 00:55 ---
The quoted paragraph does not apply to the first code example, because an
"inline definition" is defined in paragraph 6 as:
If all of the file scope declarations for a function in a translation
unit include the inline
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-01-11 09:28 ---
Confirmed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCON
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-01-11 05:15 ---
We do reject this though:
static int a()
{
return 0;
}
inline int f(void)
{
return a();
}
extern int f(void);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34735