repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[LoongArch] Eliminate the redundant sign extension of division (#107971)"
[llvm-project.git]
/
lldb
/
test
/
API
/
functionalities
/
var_path
/
main.cpp
blob
0ea19cfcfea53c824305837b28190f529926456a
1
#include <memory>
2
3
struct
Point
{
4
int
x
,
y
;
5
};
6
7
int
main
() {
8
Point pt
= {
1
,
2
};
9
Point points
[] = {{
1010
,
2020
}, {
3030
,
4040
}, {
5050
,
6060
}};
10
Point
*
pt_ptr
= &
points
[
1
];
11
Point
&
pt_ref
=
pt
;
12
std
::
shared_ptr
<
Point
>
pt_sp
(
new
Point
{
111
,
222
});
13
return
0
;
// Set a breakpoint here
14
}
15