------- Comment #5 from pi3orama at gmail dot com  2009-11-26 03:31 -------
How about the below C++ program? According to recent draft, the func() in //2:
is clearly "internal linkage", but g++ resolve it as external linkage.

static void func() { }

int main()
{
        extern void func();
        func();    // 1:
        {
                extern void func();
                func();    //2:
        }
        return 0;
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14769

Reply via email to