1 2 3 4 5 6 7 8 9 10 11 12
// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++20 // expected-no-diagnostics namespace GH113659 { template <class... Args> struct S {}; struct T {}; struct U {}; template <class... Args> struct B : S<Args...>, Args... {}; B b{S<T, U>{}}; }