Lines Matching defs:dependent
126 X<noexcept(typeid(*T{}))> dependent;
127 // `dependent` should be type-dependent because the noexcept-expression should be value-dependent
129 dependent.f<void>(); // This should need to be `.template f` to parse as a template
130 // expected-error@-1 {{use 'template' keyword to treat 'f' as a dependent template name}}
134 X<noexcept(typeid(*((static_cast<Polymorphic<false, false>*>(nullptr) && ... && T{}))))> dependent;
137 dependent.f<void>();
138 // expected-error@-1 {{use 'template' keyword to treat 'f' as a dependent template name}}
142 X<noexcept(typeid(*static_cast<T*>(nullptr)))> dependent;
144 dependent.f<void>();
145 // expected-error@-1 {{use 'template' keyword to treat 'f' as a dependent template name}}