Home | History | Annotate | Download | only in test

Lines Matching refs:Derived

34 struct Derived  : Base {};
36 struct Ambiguous : Derived, Derived2 {};
101 // Derived *
102 assert_catches< Base * , Derived *, Derived>();
103 assert_catches<const Base * , Derived *, Derived>();
104 assert_catches< volatile Base * , Derived *, Derived>();
105 assert_catches<const volatile Base * , Derived *, Derived>();
106 assert_catches< Base * const , Derived *, Derived>();
107 assert_catches<const Base * const , Derived *, Derived>();
108 assert_catches< volatile Base * const , Derived *, Derived>();
109 assert_catches<const volatile Base * const , Derived *, Derived>();
110 assert_catches< Base * volatile, Derived *, Derived>();
111 assert_catches<const Base * volatile, Derived *, Derived>();
112 assert_catches< volatile Base * volatile, Derived *, Derived>();
113 assert_catches<const volatile Base * volatile, Derived *, Derived>();
114 assert_catches< Base * const volatile, Derived *, Derived>();
115 assert_catches<const Base * const volatile, Derived *, Derived>();
116 assert_catches< volatile Base * const volatile, Derived *, Derived>();
117 assert_catches<const volatile Base * const volatile, Derived *, Derived>();
126 assert_catches< Base * , Base *, Derived>();
127 assert_catches<const Base * , Base *, Derived>();
128 assert_catches< volatile Base * , Base *, Derived>();
129 assert_catches<const volatile Base * , Base *, Derived>();
130 assert_catches< Base * const , Base *, Derived>();
131 assert_catches<const Base * const , Base *, Derived>();
132 assert_catches< volatile Base * const , Base *, Derived>();
133 assert_catches<const volatile Base * const , Base *, Derived>();
134 assert_catches< Base * volatile, Base *, Derived>();
135 assert_catches<const Base * volatile, Base *, Derived>();
136 assert_catches< volatile Base * volatile, Base *, Derived>();
137 assert_catches<const volatile Base * volatile, Base *, Derived>();
138 assert_catches< Base * const volatile, Base *, Derived>();
139 assert_catches<const Base * const volatile, Base *, Derived>();
140 assert_catches< volatile Base * const volatile, Base *, Derived>();
141 assert_catches<const volatile Base * const volatile, Base *, Derived>();
147 // cv1 Derived * cv2
149 // Derived *
150 assert_catches< Derived * , Derived *, Derived>();
151 assert_catches<const Derived * , Derived *, Derived>();
152 assert_catches< volatile Derived * , Derived *, Derived>();
153 assert_catches<const volatile Derived * , Derived *, Derived>();
154 assert_catches< Derived * const , Derived *, Derived>();
155 assert_catches<const Derived * const , Derived *, Derived>();
156 assert_catches< volatile Derived * const , Derived *, Derived>();
157 assert_catches<const volatile Derived * const , Derived *, Derived>();
158 assert_catches< Derived * volatile, Derived *, Derived>();
159 assert_catches<const Derived * volatile, Derived *, Derived>();
160 assert_catches< volatile Derived * volatile, Derived *, Derived>();
161 assert_catches<const volatile Derived * volatile, Derived *, Derived>();
162 assert_catches< Derived * const volatile, Derived *, Derived>();
163 assert_catches<const Derived * const volatile, Derived *, Derived>();
164 assert_catches< volatile Derived * const volatile, Derived *, Derived>();
165 assert_catches<const volatile Derived * const volatile, Derived *, Derived>();
171 // cv1 Derived * cv2
174 assert_cannot_catch< Derived * , Base *, Derived>();
175 assert_cannot_catch<const Derived * , Base *, Derived>();
176 assert_cannot_catch< volatile Derived * , Base *, Derived>();
177 assert_cannot_catch<const volatile Derived * , Base *, Derived>();
178 assert_cannot_catch< Derived * const , Base *, Derived>();
179 assert_cannot_catch<const Derived * const , Base *, Derived>();
180 assert_cannot_catch< volatile Derived * const , Base *, Derived>();
181 assert_cannot_catch<const volatile Derived * const , Base *, Derived>();
182 assert_cannot_catch< Derived * volatile, Base *, Derived>();
183 assert_cannot_catch<const Derived * volatile, Base *, Derived>();
184 assert_cannot_catch< volatile Derived * volatile, Base *, Derived>();
185 assert_cannot_catch<const volatile Derived * volatile, Base *, Derived>();
186 assert_cannot_catch< Derived * const volatile, Base *, Derived>();
187 assert_cannot_catch<const Derived * const volatile, Base *, Derived>();
188 assert_cannot_catch< volatile Derived * const volatile, Base *, Derived>();
189 assert_cannot_catch<const volatile Derived * const volatile, Base *, Derived>();
195 // cv1 Derived * cv2 &
197 // Derived *
198 assert_catches< Derived * &, Derived *, Derived>();
199 assert_catches<const Derived * &, Derived *, Derived>();
200 assert_catches< volatile Derived * &, Derived *, Derived>();
201 assert_catches<const volatile Derived * &, Derived *, Derived>();
202 assert_catches< Derived * const &, Derived *, Derived>();
203 assert_catches<const Derived * const &, Derived *, Derived>();
204 assert_catches< volatile Derived * const &, Derived *, Derived>();
205 assert_catches<const volatile Derived * const &, Derived *, Derived>();
206 assert_catches< Derived * volatile &, Derived *, Derived>();
207 assert_catches<const Derived * volatile &, Derived *, Derived>();
208 assert_catches< volatile Derived * volatile &, Derived *, Derived>();
209 assert_catches<const volatile Derived * volatile &, Derived *, Derived>();
210 assert_catches< Derived * const volatile &, Derived *, Derived>();
211 assert_catches<const Derived * const volatile &, Derived *, Derived>();
212 assert_catches< volatile Derived * const volatile &, Derived *, Derived>();
213 assert_catches<const volatile Derived * const volatile &, Derived *, Derived>();
222 assert_catches< Base * &, Base *, Derived>();
223 assert_catches<const Base * &, Base *, Derived>();
224 assert_catches< volatile Base * &, Base *, Derived>();
225 assert_catches<const volatile Base * &, Base *, Derived>();
226 assert_catches< Base * const &, Base *, Derived>();
227 assert_catches<const Base * const &, Base *, Derived>();
228 assert_catches< volatile Base * const &, Base *, Derived>();
229 assert_catches<const volatile Base * const &, Base *, Derived>();
230 assert_catches< Base * volatile &, Base *, Derived>();
231 assert_catches<const Base * volatile &, Base *, Derived>();
232 assert_catches< volatile Base * volatile &, Base *, Derived>();
233 assert_catches<const volatile Base * volatile &, Base *, Derived>();
234 assert_catches< Base * const volatile &, Base *, Derived>();
235 assert_catches<const Base * const volatile &, Base *, Derived>();
236 assert_catches< volatile Base * const volatile &, Base *, Derived>();
237 assert_catches<const volatile Base * const volatile &, Base *, Derived>();
244 // cv1 Derived * cv2 &
247 assert_cannot_catch< Derived * &, Base *, Derived>();
248 assert_cannot_catch<const Derived * &, Base *, Derived>();
249 assert_cannot_catch< volatile Derived * &, Base *, Derived>();
250 assert_cannot_catch<const volatile Derived * &, Base *, Derived>();
251 assert_cannot_catch< Derived * const &, Base *, Derived>();
252 assert_cannot_catch<const Derived * const &, Base *, Derived>();
253 assert_cannot_catch< volatile Derived * const &, Base *, Derived>();
254 assert_cannot_catch<const volatile Derived * const &, Base *, Derived>();
255 assert_cannot_catch< Derived * volatile &, Base *, Derived>();
256 assert_cannot_catch<const Derived * volatile &, Base *, Derived>();
257 assert_cannot_catch< volatile Derived * volatile &, Base *, Derived>();
258 assert_cannot_catch<const volatile Derived * volatile &, Base *, Derived>();
259 assert_cannot_catch< Derived * const volatile &, Base *, Derived>();
260 assert_cannot_catch<const Derived * const volatile &, Base *, Derived>();
261 assert_cannot_catch< volatile Derived * const volatile &, Base *, Derived>();
262 assert_cannot_catch<const volatile Derived * const volatile &, Base *, Derived>();
290 // Derived *
291 assert_catches< Base * &, Derived *, Derived>();
292 assert_catches<const Base * &, Derived *, Derived>();
293 assert_catches< volatile Base * &, Derived *, Derived>();
294 assert_catches<const volatile Base * &, Derived *, Derived>();
295 assert_catches< Base * const &, Derived *, Derived>();
296 assert_catches<const Base * const &, Derived *, Derived>();
297 assert_catches< volatile Base * const &, Derived *, Derived>();
298 assert_catches<const volatile Base * const &, Derived *, Derived>();
299 assert_catches< Base * volatile &, Derived *, Derived>();
300 assert_catches<const Base * volatile &, Derived *, Derived>();
301 assert_catches< volatile Base * volatile &, Derived *, Derived>();
302 assert_catches<const volatile Base * volatile &, Derived *, Derived>();
303 assert_catches< Base * const volatile &, Derived *, Derived>();
304 assert_catches<const Base * const volatile &, Derived *, Derived>();
305 assert_catches< volatile Base * const volatile &, Derived *, Derived>();
306 assert_catches<const volatile Base * const volatile &, Derived *, Derived>();