1 // Copyright (C) 2005 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 14 Feb 2005 <nathan@codesourcery.com>
3 
4 // Origin: Volker Reichelt <reichelt@gcc.gnu.org>
5 // Bug 19895: ICE on invalid
6 
7 struct A;
8 template A<>::A(); // { dg-error "(should have been)|(not a template)" }
9