mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
cb037f41a1
constants in commented-out part of LLVMAttribute enum. Add tests that verify that the safestack attribute is only allowed as a function attribute. llvm-svn: 239772
5 lines
147 B
LLVM
5 lines
147 B
LLVM
; 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)
|