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
[JITLink][LoongArch] Support R_LARCH_ALIGN relaxation (#122259)
[llvm-project.git]
/
lldb
/
test
/
API
/
lang
/
cpp
/
dereferencing_references
/
main.cpp
blob
b64978a9029f814b533851fe09f91cc869094b3d
1
typedef
int
TTT
;
2
typedef
int
&
td_int_ref
;
3
4
int
main
() {
5
int
i
=
0
;
6
// references to typedefs
7
TTT
&
l_ref
=
i
;
8
TTT
&&
r_ref
=
static_cast
<
TTT
&&>(
i
);
9
// typedef of a reference
10
td_int_ref td_to_ref_type
=
i
;
11
12
return
l_ref
;
// break here
13
}