hanchenye-llvm-project/llvm/test/Assembler/invalid-immarg3.ll

5 lines
159 B
LLVM

; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
; CHECK: error: invalid use of parameter-only attribute
declare immarg i32 @llvm.immarg.retattr(i32)