Lines Matching refs:Iter0
390 class Iter0 {
392 Iter0() {}
393 Iter0(const Iter0 &) {}
394 Iter0 operator++() { return *this; }
395 Iter0 operator--() { return *this; }
396 bool operator<(Iter0 a) { return true; }
398 // expected-note@+2 {{candidate function not viable: no known conversion from 'GoodIter' to 'Iter0' for 1st argument}}
399 // expected-note@+1 2 {{candidate function not viable: no known conversion from 'Iter1' to 'Iter0' for 1st argument}}
400 int operator-(Iter0 a, Iter0 b) { return 0; }
416 GoodIter &operator=(const Iter0 &that) { return *this; }
429 // expected-note@+2 {{candidate function not viable: no known conversion from 'Iter0' to 'GoodIter' for 2nd argument}}
434 // expected-note@+2 {{candidate function not viable: no known conversion from 'Iter0' to 'int' for 2nd argument}}
437 // expected-note@+1 2 {{candidate function not viable: no known conversion from 'Iter0' to 'GoodIter' for 1st argument}}
442 // expected-note@+1 2 {{candidate function not viable: no known conversion from 'Iter0' to 'int' for 1st argument}}
447 Iter0 begin0, end0;
485 // expected-error@+4 {{invalid operands to binary expression ('GoodIter' and 'Iter0')}}
542 // expected-error@+3 {{invalid operands to binary expression ('Iter0' and 'int')}}
545 for (Iter0 I = begin0; I < end0; ++I)
549 // expected-error@+3 {{invalid operands to binary expression ('Iter0' and 'int')}}
552 for (Iter0 I; I < end0; ++I)