(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
expr/
cast9.C
// PR c++/27177

struct Z {};
struct A : Z {};

Z* implicitToZ (Z*);

struct B : A
{
  static const int i = sizeof(implicitToZ((B*)0));
};