blob: 9a435049599af64e80370d99393d698f08a44a80 [file] [log] [blame]
// PR c++/84045
// { dg-do compile { target c++11 } }
template <typename T> struct K {
static const bool d = true;
};
template <typename T, typename> struct B {
typedef K<T> D;
void foo () noexcept (D::d);
};
template <typename T> struct P {
P () noexcept (K<T>::d);
};
P<int> p;