Debian Codegraph @

gcc/testsuite/g++.dg/parse/crash26.C

raw
1 // Copyright (C) 2005 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 13 Jun 2005 <[email protected]>
3
4 // Origin: Volker Reichelt <[email protected]>
5 // Bug 21929: ICE on invalid
6
7 template<int> struct A
8 {
9 struct B;
10 };
11
12 template<> struct A<void>::B {}; // { dg-error "mismatch|expected|name a type|extra" }