mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
9 lines
195 B
Plaintext
9 lines
195 B
Plaintext
|
// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep 'llvm.*address' | wc -l | grep 4
|
||
|
|
||
|
void *test1() {
|
||
|
return __builtin_return_address(1);
|
||
|
}
|
||
|
void *test2() {
|
||
|
return __builtin_frame_address(0);
|
||
|
}
|