Lines Matching refs:values

245 void test_unexpanded_exprs(Types ...values) {  in test_unexpanded_exprs()  argument
247 (void)(values + 0); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
248 (void)(0 + values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
251 values.f(); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
253 x.f(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
258 …(void)static_cast<Types&>(values); // expected-error{{expression contains unexpanded parameter pac… in test_unexpanded_exprs()
261 …(void)dynamic_cast<Types&>(values); // expected-error{{expression contains unexpanded parameter pa… in test_unexpanded_exprs()
264 …(void)reinterpret_cast<Types&>(values); // expected-error{{expression contains unexpanded paramete… in test_unexpanded_exprs()
267 …(void)const_cast<Types&>(values); // expected-error{{expression contains unexpanded parameter pack… in test_unexpanded_exprs()
271 (void)typeid(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
275 …(void)__uuidof(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
281 throw values; // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
293 (void)X(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
299 (void)new X(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
300 …(void)new (values) X(values); // expected-error{{expression contains unexpanded parameter pack 'va… in test_unexpanded_exprs()
301 (void)new X [values]; // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
304 delete values; // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
305 delete [] values; // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
309 values.~T(); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
321 …test_unexpanded_exprs(values); // expected-error{{expression contains unexpanded parameter pack 'v… in test_unexpanded_exprs()
332 values.foo(); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
333 t.foo(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
344 x.f(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
347 noexcept(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
354 …for (auto t : values) { } // expected-error{{expression contains unexpanded parameter pack 'values… in test_unexpanded_exprs()
356 switch (values) { } // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
357 …switch (0) { case 0: case values: ; } // expected-error{{expression contains unexpanded parameter … in test_unexpanded_exprs()
359 do { } while (values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
362 goto *values; // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
364 …void f(int arg = values); // expected-error{{default argument contains unexpanded parameter pack '… in test_unexpanded_exprs()