add link to GCC bug report

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@916 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2008-12-19 13:08:55 +00:00
parent 0289a9789f
commit 7f4960c4eb

View file

@ -1195,6 +1195,7 @@ struct Policy
protected:
Policy() {}
Policy(const Policy&) {}
int i;
};
template<int I, class P>
@ -1212,6 +1213,10 @@ void foo()
{
BugGcc<0, Policy> f1;
BugGcc<1, Policy> f2(f1);
// Policy members are still not public,
// this will not compile:
//int i = f1.i;
}