llvm-project/llvm/test/Assembler/byref-parse-error-3.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

7 lines
158 B
LLVM

; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: <stdin>:[[@LINE+1]]:35: error: expected type{{$}}
define void @test_byref(ptr byref(-1)) {
ret void
}