public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* apparent namespace bug
@ 2000-07-28 10:59 Blake Meike
  0 siblings, 0 replies; only message in thread
From: Blake Meike @ 2000-07-28 10:59 UTC (permalink / raw)
  To: gcc-bugs

Although this is similar to several of the WK bugs, it isn't obviously
identical to any of them.  Thought you might want to know about it:

Cheers,
  Blake Meike


namespace ZQX3 {
  struct Test { int xxx, yyy; };
};

int main(int argc, char *argv[]) {
  ZQX3::Test test;
  test.xxx = 2;         // works!
  test.ZQX3::xxx = 2;   // doesn't!!
  return 1;
}


home>gcc test.cc -lg++
test.cc: In function `int main(int, char **)':
test.cc:9: Internal compiler error.
test.cc:9: Please submit a full bug report.
test.cc:9: See <URL: http://www.gnu.org/software/gcc/bugs.html > for
instructions.
home>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-07-28 10:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-28 10:59 apparent namespace bug Blake Meike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).