Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / crash30.C
blobdfbef1003e00ef5a45d4ea8f4b5c8eea68e4cf77
1 // { dg-do assemble  }
3 extern "C" int printf(const char *, ...);
4 template <class T> struct A {
5   typedef typename T::X B; // { dg-error "" } not a class
6   A(double);
7 };
8  
9 template <class T> void xxx(typename A<T>::B);
11 template <class T> struct B {
12   friend void xxx<T>(T); // { dg-error "" } does not match any template
15 template struct B<double>;