]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.old-deja/g++.jason/crash10.C
/cp
[thirdparty/gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / crash10.C
1 // { dg-do assemble }
2 // PRMS Id: 5155
3
4 struct A {
5 enum foo { bar };
6 };
7
8 typedef A::foo A::foo; // { dg-error "16:typedef name" } causes compiler segfault