You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
template <int ...N> // expected-error{{deduced non-type template argument does not have the same type as the corresponding template parameter ('int' vs 'long')}}
21
+
template <int ...N> // expected-error{{deduced non-type template argument does not have the same type as the corresponding template parameter ('long' vs 'int')}}
22
22
classTT// expected-note {{previous template template parameter is here}}
23
23
> structX0 { };
24
24
@@ -31,7 +31,7 @@ X0<X0b> inst_x0b;
31
31
X0<X0c> inst_x0c; // expected-note{{template template argument has different template parameters than its corresponding template template parameter}}
32
32
33
33
template<typename T,
34
-
template <T ...N> // expected-error{{deduced non-type template argument does not have the same type as the corresponding template parameter ('short' vs 'long')}}
34
+
template <T ...N> // expected-error{{deduced non-type template argument does not have the same type as the corresponding template parameter ('long' vs 'short')}}
35
35
classTT// expected-note {{previous template template parameter is here}}
structUselessPartialSpec<Types..., Tail>; // expected-error{{class template partial specialization contains template parameters that cannot be deduced; this partial specialization will never be used}}
39
+
// expected-error@-1 {{is not more specialized than the primary template}}
36
40
}
37
41
38
42
// When a pack expansion occurs within a template argument list, the entire
0 commit comments