2 // { dg-do compile { target c++14 } }
4 template <typename> struct A { static constexpr int digits = 0; };
5 template <typename> struct B {
6 template <int, typename MaskInt = int, int = A<MaskInt>::digits>
7 static constexpr int XBitMask = 0;
10 using ReferenceHost = B<int>;
11 template <int> static decltype(ReferenceHost::XBitMask<0>) XBitMask;
13 int main() { C::XBitMask<0>; }