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