Merge branch 'master' into msp430
[llvm/msp430.git] / test / FrontendC / 2004-02-13-BuiltinFrameReturnAddress.c
blob162d32a658c04eef81977cae43af563bbd24699d
1 // RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep llvm.*address | count 4
3 void *test1() {
4 return __builtin_return_address(1);
6 void *test2() {
7 return __builtin_frame_address(0);