------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 20:24 ------- There are two bugs here, one is a regression from 3.3. The access to the type should be rejected as inaccessible. I filed the other bug in PR 22620.
-- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |accepts-invalid Known to fail| |3.4.0 4.0.0 4.1.0 Known to work| |3.3.3 Last reconfirmed|0000-00-00 00:00:00 |2005-07-22 20:24:37 date| | Summary|Template non-type arguments |[3.4/4.0/4.1 Regression] |break class access |Template non-type arguments |protection |break class access | |protection Target Milestone|--- |3.4.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22618