// PR c++/99844 // { dg-do compile { target c++11 } } template struct S { void fn() noexcept(B); // { dg-error "parameter packs not expanded" } }; void fn () { S s; s.fn(); }