// { dg-do compile } // Origin: Giovanni Bajo // PR c++/19208: Fold dependent array domains template struct if_t { typedef int type; }; template struct ffff { static const bool value = true; }; template struct bound_member_action { typedef char f[ffff::value ? 1 : 2]; template bound_member_action(CT i, typename if_t::type g) {} }; bound_member_action a(0, 1);