blob: 6c76d9146ad2057d1fdd10991ba4ad99617ceee1 [file] [log] [blame]
// PR c++/99844
// { dg-do compile { target c++11 } }
template <bool... B>
struct S {
void fn() noexcept(B); // { dg-error "parameter packs not expanded" }
};
void fn ()
{
S<true> s;
s.fn();
}