invalid-safestack-param.ll 147 Bytes
; 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)