mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 11:35:51 -04:00

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
141 B
LLVM
5 lines
141 B
LLVM
; RUN: not llvm-as -o /dev/null %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: error: invalid use of function-only attribute
|
|
declare safestack void @foo()
|