Merge reload-branch up to revision 101000
[official-gcc.git] / gcc / testsuite / g++.dg / parse / crash26.C
blob2b4f165f8b9a30b444c81e2fe895ef442bdfa686
1 // Copyright (C) 2005 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 13 Jun 2005 <nathan@codesourcery.com>
4 // Origin:  Volker Reichelt <reichelt@gcc.gnu.org>
5 // Bug 21929: ICE on invalid
7 template<int> struct A
9     struct B;
12 template<> struct A<void>::B {}; // { dg-error "mismatch|expected|name a type|extra" }