Lines Matching refs:Y
69 struct Y;
70 struct X { X(); X(const Y&); };
71 struct Y { pair<X> p; }; argument
137 struct Y { struct
138 Y() = default;
139 Y(const Y&) = default;
140 Y(Y&&) = default;
141 Y &operator=(const Y&) = default;
142 Y &operator=(Y&&) = default;
143 ~Y() = default;
145 Y::Y() = default; // expected-error {{definition of explicitly defaulted}}
146 Y::Y(const Y&) = default; // expected-error {{definition of explicitly defaulted}}
147 Y::Y(Y&&) = default; // expected-error {{definition of explicitly defaulted}}
148 Y &Y::operator=(const Y&) = default; // expected-error {{definition of explicitly defaulted}}
149 Y &Y::operator=(Y&&) = default; // expected-error {{definition of explicitly defaulted}}
150 Y::~Y() = default; // expected-error {{definition of explicitly defaulted}}