Lines Matching refs:U
4 template<typename U> using T = int;
5 template<typename U> using T = int;
6 template<typename U> using T = T<U>;
10 …template<typename U> using A = void(int n = 0); // expected-error {{default arguments can only be …
11 …template<typename U> using B = inline void(int n); // expected-error {{type name does not allow fu…
12 …template<typename U> using C = virtual void(int n); // expected-error {{type name does not allow f…
13 …template<typename U> using D = explicit void(int n); // expected-error {{type name does not allow …
14 …template<typename U> using E = void(int n) throw(); // expected-error {{exception specifications a…
15 …template<typename U> using F = void(*)(int n) &&; // expected-error {{pointer to function type can…
16 …template<typename U> using G = __thread void(int n); // expected-error {{type name does not allow …
17 …template<typename U> using H = constexpr int; // expected-error {{type name does not allow constex…
19 template<typename U> using Y = void(int n); // ok
20 template<typename U> using Z = void(int n) &&; // ok
26 …template<typename Z> using typename U = void; // expected-error {{name defined in alias declaratio…
38 template<typename Z> using U = int[m]; // expected-note {{previous definition}} typedef
39 template<typename Z> using U = int[42]; // ok typedef
40 …template<typename Z> using U = int; // expected-error {{type alias template redefinition with diff… typedef
50 namespace N { template<typename U> using S = int; }
52 template<typename U> using S = S<U>*; // ok
57 …template<typename Z> using U = T*; // expected-error {{declaration type contains unexpanded parame… typedef
58 U<char> u;
72 …template<typename U> using C0 = int; // expected-error {{name defined in alias declaration must be…
76 …template<typename U> using C1 = C1; // expected-error {{name defined in alias declaration must be …
79 template<typename U> using C0 = C1; // ok
82 …template<typename U> using f = T; // expected-error {{declaration type contains unexpanded paramet…
85 …template<typename U> using T = int; // expected-error {{declaration of 'T' shadows template parame…
89 …template<typename U> using c = int; // expected-error {{redefinition of 'c' as different kind of s…
91 …template<typename U> using d = d; // expected-error {{redefinition of 'd' as different kind of sym…
94 class c { template<typename U> using C6 = int; }; // ok
107 template<typename Z> using U = enum { a, b, c }; // expected-error {{cannot be defined}} typedef
112 template<typename T, typename U> struct pair;
126 template<typename Z> using U = int; // expected-note {{declared private here}} typedef in Access::C0
128 C0::U<int> v; // expected-error {{'U' is a private member}}
131 template<typename Z> using U = int; typedef in Access::C1
133 C1::U<int> w; // ok
143 template<typename T, typename U> struct S;
144 …template<typename T> template<typename U> using SS = S<T, U>; // expected-error {{extraneous templ…
167 template<typename T, typename U = EnableIf<is_enum<T>>> struct fail1 {}; // expected-note {{here}}