1 ; RUN: not llc -march=mips < %s 2>&1 | FileCheck %s
3 declare i8* @llvm.returnaddress(i32) nounwind readnone
5 define i8* @f() nounwind {
7 %0 = call i8* @llvm.returnaddress(i32 1)
10 ; CHECK: error: return address can be determined only for current frame