blob: ddfb9dc790aafb41a8c16b0a9e38b22bab980dc9 [file] [log] [blame]
// RUN: clang -emit-llvm < %s | grep "llvm.returnaddress" &&
// RUN: clang -emit-llvm < %s | grep "llvm.frameaddress"
void* a(unsigned x) {
return __builtin_return_address(0);
}
void* c(unsigned x) {
return __builtin_frame_address(0);
}