DotGNU Portable.NET - Bugs: bug #6993, Non unique names for static...
You are not allowed to post comments on this tracker with your current authentication level.
bug #6993: Non unique names for static variables
Submitter: | None | ||
Submitted: | Sat 27 Dec 2003 04:27:25 AM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
CC list is empty
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
No changes have been made to this item
Powered by Savane 3.13-f8d8.
Corresponding source code
The code below will compile but 'll not assemble because
both instances of s1 will have equal names.
--cut--
void cf(char *);
void
test(void)
{
{ static char s1[]="test1"; cf(s1); }
{ static char s1[]="test2"; cf(s1); }
}
--cut--
Boris Popov
bp shift-2 vertex.kz