Debian Codegraph @

gcc/testsuite/g++.dg/template/explicit6.C

raw
1 // Copyright (C) 2005 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 14 Feb 2005 <[email protected]>
3
4 // Origin: Volker Reichelt <[email protected]>
5 // Bug 19895: ICE on invalid
6
7 struct A;
8 template A<>::A(); // { dg-error "(should have been)|(not a template)" }