8sa1-gcc/gcc/testsuite/g++.old-deja/g++.other/crash32.C
Jakub Jelinek d1877a9b13 crash24.C: New test.
* g++.old-deja/g++.other/crash24.C: New test.
	* g++.old-deja/g++.other/crash25.C: New test.
	* g++.old-deja/g++.other/crash26.C: New test.
	* g++.old-deja/g++.other/crash27.C: New test.
	* g++.old-deja/g++.other/crash28.C: New test.
	* g++.old-deja/g++.other/crash29.C: New test.
	* g++.old-deja/g++.other/crash30.C: New test.
	* g++.old-deja/g++.other/crash31.C: New test.
	* g++.old-deja/g++.other/crash32.C: New test.
	* g++.old-deja/g++.other/crash33.C: New test.
	* g++.old-deja/g++.other/crash34.C: New test.
	* g++.old-deja/g++.other/crash35.C: New test.

From-SVN: r37275
2000-11-06 13:29:02 +01:00

33 lines
345 B
C

// Build don't link:
// Origin: Jakub Jelinek <jakub@redhat.com>
// crash 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;
};