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