1 // RUN: %clang_cc1 -fsyntax-only -verify %s 2 3 enum E1 { one }; 4 enum E2 { two }; 5 operator >=(E1,E1)6bool operator >= (E1, E1) { 7 return false; 8 } 9 operator >=(E1,const E2)10bool operator >= (E1, const E2) { 11 return false; 12 } 13 test(E1 a,E1 b,E2 c)14bool test(E1 a, E1 b, E2 c) { 15 return a >= b || a >= c; 16 } 17