From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10101 invoked by alias); 5 Jun 2006 06:29:51 -0000 Received: (qmail 10062 invoked by uid 48); 5 Jun 2006 06:29:29 -0000 Date: Mon, 05 Jun 2006 06:55:00 -0000 Message-ID: <20060605062929.10061.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/18747] "template<> int i;" accepted In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "sambitdash at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-06/txt/msg00492.txt.bz2 List-Id: ------- Comment #2 from sambitdash at gmail dot com 2006-06-05 06:29 ------- So is: struct A { }; template<> A i; which means the specilization syntax does not mandate a need the qualifying class needs to be a template type. That looks interesting!!! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18747