llvm-project/llvm/test/Assembler/invalid-safestack-param.ll

5 lines
147 B
LLVM
Raw Normal View History

; RUN: not llvm-as -o /dev/null %s 2>&1 | FileCheck %s
; CHECK: error: invalid use of function-only attribute
declare void @foo(i32 safestack %x)