aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/rtti/crash2.C
blob: 9646dfdc1c97f01f3b132ebfc772ada388ec3b8f (plain)
1
2
3
4
5
6
7
8
9
// Copyright (C) 2005 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 16 Jun 2005 <nathan@codesourcery.com>

// Crash when compiler is optimized
// Origin:  Andrew Pinski pinskia@gcc.gnu.org

struct facet { virtual ~facet(); };
struct ctype_base {};
struct ctype : facet, ctype_base {};