PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / rtti / crash2.C
blob9646dfdc1c97f01f3b132ebfc772ada388ec3b8f
1 // Copyright (C) 2005 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 16 Jun 2005 <nathan@codesourcery.com>
4 // Crash when compiler is optimized
5 // Origin:  Andrew Pinski pinskia@gcc.gnu.org
7 struct facet { virtual ~facet(); };
8 struct ctype_base {};
9 struct ctype : facet, ctype_base {};