Lines Matching defs:xyz
444 struct xyz {
445 xyz(); // #cwg641-xyz-ctor
446 xyz(xyz &); // #cwg641-xyz-copy-ctor
448 operator xyz &() = delete;
449 // expected-warning@-1 {{conversion function converting 'cwg641::std_example::xyz' to itself will never be used}}
455 struct abc : xyz {};
460 use<xyz>(xyz());
463 use<const xyz>(xyz());
464 // cxx98-error@-1 {{no viable constructor copying parameter of type 'xyz'; C++98 requires a copy constructor when binding a reference to a temporary}}
465 // cxx98-note@#cwg641-xyz-copy-ctor {{candidate constructor not viable: expects an lvalue for 1st argument}}
466 // cxx98-note@#cwg641-xyz-ctor {{candidate constructor not viable: requires 0 arguments, but 1 was provided}}