2 // Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3 // PR c++/19208: Fold dependent array domains
5 template <class C> struct if_t { typedef int type; };
6 template <class T> struct ffff { static const bool value = true; };
8 struct bound_member_action
10 typedef char f[ffff<A>::value ? 1 : 2];
12 bound_member_action(CT i, typename if_t<f>::type g) {}
14 bound_member_action<int> a(0, 1);