From 7f4960c4eb0d3553bed19eebe4e3ab6111daec03 Mon Sep 17 00:00:00 2001 From: syntheticpp Date: Fri, 19 Dec 2008 13:08:55 +0000 Subject: [PATCH] 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 --- test/SmartPtr/strong.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/SmartPtr/strong.cpp b/test/SmartPtr/strong.cpp index 8725f56..904afca 100644 --- a/test/SmartPtr/strong.cpp +++ b/test/SmartPtr/strong.cpp @@ -1195,6 +1195,7 @@ struct Policy protected: Policy() {} Policy(const Policy&) {} + int i; }; template @@ -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; }