Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / parse / crash20.C
blobb39e572c39aaba4a63e6431678d34acb1823e920
1 // { dg-do compile }
3 // Copyright (C) 2004 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 1 Dec 2004 <nathan@codesourcery.com>
6 // PR 18729: ICE on ill formed
7 // Origin: Volker Reichelt <reichelt@gcc.gnu.org>
9 template<typename T> struct A
11   typedef typename T::X Y; // { dg-error "not a class" "" }
14 A<int>::Y y; // { dg-error "instantiated from here" "" }