repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
FrontendC
/
2004-02-13-BuiltinFrameReturnAddress.c
blob
162d32a658c04eef81977cae43af563bbd24699d
1
// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep llvm.*address | count 4
2
3
void
*
test1
() {
4
return
__builtin_return_address
(
1
);
5
}
6
void
*
test2
() {
7
return
__builtin_frame_address
(
0
);
8
}