blob: 279d4d00e36c1cf194ba3564492d545dbdbfc16f [file] [log] [blame]
// { dg-do compile { target c++20 } }
struct base { int i{}; };
struct derived : private base {};
template <derived> struct has_nttp_param{}; // { dg-error "non-type" }
has_nttp_param<{}> v;