Sign in
llvm
/
llvm-project
/
e8391d46198aa1390c1bcaff94de42eed34ae26b
/
.
/
lldb
/
test
/
API
/
commands
/
expression
/
import-std-module
/
weak_ptr-dbg-info-content
/
main.cpp
blob: d2c5a6258a5de6c29fe035fa1d2e0cd1400a47cc [
file
] [
log
] [
blame
]
#include
<memory>
struct
Foo
{
int
a
;
};
int
main
(
int
argc
,
char
**
argv
)
{
std
::
shared_ptr
<
Foo
>
s
(
new
Foo
);
s
->
a
=
3
;
std
::
weak_ptr
<
Foo
>
w
=
s
;
return
s
->
a
;
// Set break point at this line.
}