aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/explicit6.C
blob: f740269bb749e65315b9c1c3d94cb177c838c424 (plain)
1
2
3
4
5
6
7
8
// Copyright (C) 2005 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 14 Feb 2005 <nathan@codesourcery.com>

// Origin: Volker Reichelt <reichelt@gcc.gnu.org>
// Bug 19895: ICE on invalid

struct A;
template A<>::A(); // { dg-error "(not a template)|(explicit qualification)" "" }