OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Enum1
(Results
1 - 2
of
2
) sorted by null
/external/clang/test/SemaCXX/
overloaded-builtin-operators.cpp
15
struct
Enum1
{
38
void f(Short s, Long l,
Enum1
e1, Enum2 e2, Xpmf pmf) {
195
typedef enum {
Enum1
, Enum2, Enum3 } MyEnum;
overloaded-operator.cpp
59
enum
Enum1
{ };
63
E1(
Enum1
) { }
73
void enum_test(
Enum1
enum1
, Enum2 enum2, E1 e1, E2 e2,
Enum1
next_enum1) {
75
float &f2 = (
enum1
== e2);
77
float &f4 = (
enum1
== next_enum1); // expected-error{{non-const lvalue reference to type 'float' cannot bind to a temporary of type 'bool'}}
Completed in 35 milliseconds