blob: 43f79737c76db1ae72e9f62dcd6cd2d3bd3bdfa2 [file] [log] [blame]
// Build don't link:
// 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); // ERROR - parse error
};
int test::export(void) // ERROR - parse error
{
return 0;
}
template <class T> class Y;
export template <class T> class X; // WARNING - export not implemented