xref: /llvm-project/llvm/test/Assembler/invalid-immarg3.ll (revision f59209a86eaf5ec2edea74b9b6e4932148efb3e0)
1; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
2
3; CHECK: error: this attribute does not apply to return values
4declare immarg i32 @llvm.immarg.retattr(i32)
5