// PR c++/89761 // { dg-do compile { target c++17 } } template struct seq {}; template struct S { template constexpr static void call(Args&&...) {} // { dg-warning "omission of ',' before varargs '...' is deprecated" "" { target c++26 } } }; template auto foo (seq, Args&& ...args) { return (S::call(args), ...); } void bar() { foo(seq<0,1,2>{}, 1,2,3); }