Lines Matching defs:Iter1
324 // expected-note@+1 2 {{candidate function not viable: no known conversion from 'Iter1' to 'Iter0' for 1st argument}}
326 class Iter1 {
328 Iter1(float f=0.0f, double d=0.0) { }
329 Iter1(const Iter1 &) { }
330 Iter1 operator ++() { return *this; }
331 Iter1 operator --() { return *this; }
332 bool operator <(Iter1 a) { return true; }
333 bool operator >=(Iter1 a) { return false; }
353 // expected-note@+1 2 {{candidate function not viable: no known conversion from 'Iter1' to 'GoodIter' for 1st argument}}
357 // expected-note@+1 2 {{candidate function not viable: no known conversion from 'Iter1' to 'GoodIter' for 1st argument}}
360 // expected-note@+1 2 {{candidate function not viable: no known conversion from 'Iter1' to 'int' for 1st argument}}
449 Iter1 begin1, end1;
450 // expected-error@+3 {{invalid operands to binary expression ('Iter1' and 'Iter1')}}
453 for (Iter1 I = begin1; I < end1; ++I)
458 for (Iter1 I = begin1; I >= end1; ++I)
462 // expected-error@+4 {{invalid operands to binary expression ('Iter1' and 'Iter1')}}
466 for (Iter1 I; I < end1; ++I) {