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