Sign in
llvm
/
llvm-project
/
lldb
/
refs/heads/master
/
.
/
test
/
API
/
lang
/
cpp
/
static_methods
/
main.cpp
blob: 332fca62f4bef80cec1433e84e07c881fba20746 [
file
] [
log
] [
blame
] [
edit
]
struct
A
{
public
:
static
int
getStaticValue
()
{
return
5
;
}
int
getMemberValue
()
{
return
a
;
}
int
a
;
};
int
main
()
{
A a
;
a
.
a
=
3
;
return
A
::
getStaticValue
()
+
a
.
getMemberValue
();
// Break here
}