Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / derived3.C
blob806e0f5c99c7be76f2bf8438b21e9bba7548397c
1 // { dg-do compile  }
3 // by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
4 // Copyright (C) 1999, 2002 Free Software Foundation
6 template<class T>
7 class X {
8         class Y : public T
9         { // { dg-error "base type .* fails to be" "" }
10         };
11         Y y;                    // { dg-error "instantiated" "" }
13 int main() {
14         X<int> x;               // { dg-error "instantiated" "" }