Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / export1.C
blob53e7e9b160ce091092db00d32a78a8f7c3192d90
1 // { dg-do assemble  }
2 // Copyright (C) 2000 Free Software Foundation, Inc.
3 // Contributed by Nathan Sidwell 17 Nov 2000 <nathan@codesourcery.com>
6 // bug 721, we died horribly when export was used wrongly
8 struct test {
9 int export(void);   // { dg-error "" } parse error
12 int test::export(void) // { dg-error "" } parse error
14 return 0;
17 template <class T> class Y;
18 export template <class T> class X;  // { dg-warning "" } export not implemented