sorry, wrong bug :(
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
I forwarded this to upstream:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19403
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Package: g++-4.0
Version: 4.0-0pre2
Severity: important
Tags: experimental
Hi,
the following code doesn't compile:
struct A {};
namespace Boo
{
struct B
{
friend struct A;
B(const A&) {};
};
}
int main()
{
A a;
Boo::B b(a);
return 0;
}
It compiles with g++ < 4.0.
Cheer
3 matches
Mail list logo