llvm-project/llvm/test/Assembler/mustprogress-parse-error-2.ll
Nikita Popov 75a479221b [Assembler] Convert tests to opaque pointers (NFC)
Some tests are removed because the error conditions can no longer
occur with opaque pointers.
2022-12-13 14:36:21 +01:00

8 lines
175 B
LLVM

; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: [[@LINE+1]]:51: error: expected '{' in function body
define ptr @test_mustprogress(i8 %a) mustprogress 8 {
ret void
}