blob: 98366c1e9104999216745c4f4bd144b3a76ec8aa [file] [log] [blame]
// Build don't link:
// Origin: Jakub Jelinek <jakub@redhat.com>
// excess errors test - XFAIL *-*-*
struct foo
{
enum e
{
not // ERROR -
};
~foo();
void x (foo *&a, bool b = (unsigned char)0);
};
namespace N
{
struct bar;
template<class T>
struct baz
{
baz(T *p);
};
typedef baz<bar> c;
}
struct z
{
int a;
};