http://d.puremagic.com/issues/show_bug.cgi?id=5739


Walter Bright <bugzi...@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID


--- Comment #7 from Walter Bright <bugzi...@digitalmars.com> 2012-01-20 
18:57:36 PST ---
(In reply to comment #4)
> But how does he get "Error: undefined identifier foo"? Shouldn't "foo" just be
> declared as a regular function?

It gets parsed like:

    extern(C): void foo();

and so foo is undefined.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to