blob: c752601ba09e751ee3ef522443afc82a3ca69947 [file] [log] [blame]
// PR c++/90748
// { dg-do compile { target c++11 } }
template <class ...Ts> class A
{
void e ();
bool f (int() noexcept(this->e())); // { dg-error "this" }
bool g (int() noexcept(e())); // { dg-error "without object" }
};
A<> b;