@@ -39,7 +39,7 @@ namespace template_template_arg_pack {
3939 template <typename ...> struct YP {};
4040
4141 struct Z { template <typename T> struct Q {}; }; // expected-note 2{{here}}
42-
42+
4343 template <typename T> using ZId = Z;
4444
4545 template <typename ...Ts> struct A {
@@ -152,7 +152,7 @@ namespace decl {
152152 A a;
153153 A b = 0 ;
154154 const A c = 0 ;
155- A (parens) = 0 ; // expected-error {{cannot use parentheses when declaring variable with deduced class template specialization type}}
155+ A (parens) = 0 ;
156156 A *p = 0 ; // expected-error {{cannot form pointer to deduced class template specialization type}}
157157 A &r = *p; // expected-error {{cannot form reference to deduced class template specialization type}}
158158 A arr[3 ] = 0 ; // expected-error {{cannot form array of deduced class template specialization type}}
@@ -179,7 +179,7 @@ namespace typename_specifier {
179179 }
180180 typename ::A a = 0 ;
181181 const typename ::A b = 0 ;
182- typename ::A (parens) = 0; // expected-error {{cannot use parentheses when declaring variable with deduced class template specialization type}}
182+ typename ::A (parens) = 0;
183183 typename ::A *p = 0 ; // expected-error {{cannot form pointer to deduced class template specialization type}}
184184 typename ::A &r = *p; // expected-error {{cannot form reference to deduced class template specialization type}}
185185 typename ::A arr[3 ] = 0 ; // expected-error {{cannot form array of deduced class template specialization type}}
@@ -217,7 +217,7 @@ namespace typename_specifier {
217217}
218218
219219namespace parenthesized {
220- template <typename T> struct X { X(T); };
220+ template <typename T> struct X { X(T); };
221221 auto n = (X([]{}));
222222}
223223
0 commit comments