llvm-project/llvm/test/Assembler/byref-parse-error-4.ll

7 lines
157 B
LLVM

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