1 // RUN: %clang_cc1 -std=c++2a -x c++ %s -verify
2 // expected-no-diagnostics
4 template<typename T
, typename U
=void>
8 template<typename T
, typename U
=void>
19 const ns::D
<int> auto h
);
21 void foo3(C
<int> auto b
);
22 void foo4(ns::D
auto c
);
23 void foo5(ns::D
<int> auto d
);
24 void foo6(const C
auto e
);
25 void foo7(const C
<int> auto f
);
26 void foo8(const ns::D
auto g
);
27 void foo9(const ns::D
<int> auto h
);
29 struct S1
{ S1(C
auto a
,
36 const ns::D
<int> auto h
); };
37 struct S2
{ S2(C
auto a
); };
38 struct S3
{ S3(C
<int> auto b
); };
39 struct S4
{ S4(ns::D
auto c
); };
40 struct S5
{ S5(ns::D
<int> auto d
); };
41 struct S6
{ S6(const C
auto e
); };
42 struct S7
{ S7(const C
<int> auto f
); };
43 struct S8
{ S8(const ns::D
auto g
); };
44 struct S9
{ S9(const ns::D
<int> auto h
); };