Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
661b4939ae3f84380dc3e670a06e963b4b9d3b6e
/
.
/
test
/
CXX
/
over
/
over.built
/
p1.cpp
blob: 6000f5b01ca41bdde2cb93608177862cd411aacc [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
enum
E1
{
one
};
enum
E2
{
two
};
bool
operator
>=
(
E1
,
E1
)
{
return
false
;
}
bool
operator
>=
(
E1
,
const
E2
)
{
return
false
;
}
bool
test
(
E1 a
,
E1 b
,
E2 c
)
{
return
a
>=
b
||
a
>=
c
;
}