From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7937 invoked by alias); 20 Jul 2010 21:54:39 -0000 Received: (qmail 7882 invoked by uid 48); 20 Jul 2010 21:54:16 -0000 Date: Tue, 20 Jul 2010 21:54:00 -0000 Message-ID: <20100720215416.7881.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/45011] template function specialization: does not respect access specifier In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg02128.txt.bz2 ------- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-20 21:54 ------- Comeau online gives an error: "ComeauTest.c", line 6: error: type "C::Private" (declared at line 3) is inaccessible template void function(typename T::Private); ^ detected during instantiation of "function" based on template argument at line 9 -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45011