aboutsummaryrefslogtreecommitdiff
path: root/clang/test/SemaTemplate/template-args-deduction-aggregates.cpp
blob: afe78d0873bb332d2205fbbbc60c658a57e86270 (plain)
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>{}};
}