// { dg-do run }// { dg-options "-fabi-version=0 -w" }structE1{};structE2:publicE1{};structE:publicE1,publicE2{};structN:publicE{virtualvoidf(){}};structX:virtualpublicN{};intmain(){Xx;/* N should not be the primary base of X; it is not nearly empty. */if((void*)&x==(void*)(N*)&x)return1;}