blob: 53e7e9b160ce091092db00d32a78a8f7c3192d90 [file] [log] [blame]
// { dg-do assemble }
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 17 Nov 2000 <nathan@codesourcery.com>
// bug 721, we died horribly when export was used wrongly
struct test {
int export(void); // { dg-error "" } parse error
};
int test::export(void) // { dg-error "" } parse error
{
return 0;
}
template <class T> class Y;
export template <class T> class X; // { dg-warning "" } export not implemented