>>>>> Mark Mitchell <mark@codesourcery.com> writes: > Cute. The problem is that this code should be flagged as erroneous. I disagree; a user is allowed to use a name from the standard library for a static definition. Probably duplicate_decls should just throw away the builtin if the new decl is static. Jason