xref: /llvm-project/llvm/test/Assembler/invalid-safestack-param.ll (revision f59209a86eaf5ec2edea74b9b6e4932148efb3e0)
1; RUN: not llvm-as -o /dev/null %s 2>&1 | FileCheck %s
2
3; CHECK: error: this attribute does not apply to parameters
4declare void @foo(i32 safestack %x)
5