mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 08:36:41 +00:00
13 lines
248 B
C++
13 lines
248 B
C++
// 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>{}};
|
|
}
|