Lines Matching refs:Z
20 template<typename U> using Z = void(int n) &&; // ok typedef
24 …template<typename Z> using ::T = void(int n); // expected-error {{name defined in alias declaratio…
25 …template<typename Z> using operator int = void(int n); // expected-error {{name defined in alias d…
26 …template<typename Z> using typename U = void; // expected-error {{name defined in alias declaratio…
27 …template<typename Z> using typename ::V = void(int n); // expected-error {{name defined in alias d…
28 …template<typename Z> using typename ::operator bool = void(int n); // expected-error {{name define…
32 template<typename Z> using T = int[42]; // ok
35 …template<typename Z> using T = int[n]; // expected-error {{variable length array declaration not a…
38 template<typename Z> using U = int[m];
39 template<typename Z> using U = int[42]; // expected-note {{previous definition}}
40 …template<typename Z> using U = int; // expected-error {{type alias template redefinition with diff…
45 template<typename Z> using T = int;
57 …template<typename Z> using U = T*; // expected-error {{declaration type contains unexpanded parame…
61 template<typename Z> using T1 = int;
62 template<typename Z> using T2 = int[-1]; // expected-error {{array size is negative}}
64 …template<typename Z> using T = int; // expected-error {{declaration of 'T' shadows template parame…
66 template<typename Z> using Z = Z; typedef
103 template<typename Z> using S = struct { int n; }; // expected-error {{cannot be defined}}
104 template<typename Z> using T = class { int n; }; // expected-error {{cannot be defined}}
105 template<typename Z> using U = enum { a, b, c }; // expected-error {{cannot be defined}}
106 …template<typename Z> using V = struct V { int n; }; // expected-error {{'TagName::V' cannot be def…
121 template<typename Z> using U = int; // expected-note {{declared private here}}
126 template<typename Z> using U = int;
132 template<typename Z> using V = void;