Sign in
llvm
/
llvm-project
/
lldb
/
e5147d572f5e468e16fbbf36b71824b54f3932f7
/
.
/
test
/
API
/
commands
/
expression
/
scoped_enums
/
main.cpp
blob: b0d67d23dc5e5206b898c1a0b38e36e5fa61f31b [
file
] [
log
] [
blame
]
enum
class
Foo
{
FooBar
=
42
};
enum
Bar
{
BarBar
=
3
,
BarBarBar
=
42
};
int
main
(
int
argc
,
const
char
**
argv
)
{
Foo
f
=
Foo
::
FooBar
;
Bar
b
=
BarBar
;
bool
b1
=
f
==
Foo
::
FooBar
;
bool
b2
=
b
==
BarBar
;
return
0
;
// Set break point at this line.
}