llvm-for-llvmta/test/Assembler/byref-parse-error-5.ll
Nils Hölscher 3500bf8dde first commit
2022-04-25 10:02:23 +02:00

7 lines
175 B
LLVM

; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: <stdin>:[[@LINE+1]]:8: error: invalid use of parameter-only attribute{{$}}
define byref i8* @test_byref() {
ret void
}