xref: /llvm-project/llvm/test/Assembler/mustprogress-parse-error-1.ll (revision f59209a86eaf5ec2edea74b9b6e4932148efb3e0)
1; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2
3; CHECK: [[@LINE+1]]:8: error: this attribute does not apply to return values
4define mustprogress void @test_mustprogress(i8 %a) {
5  ret void
6}
7
8