llvm-project/llvm/test/Assembler/sret-parse-error0.ll

7 lines
151 B
LLVM

; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: <stdin>:[[@LINE+1]]:32: error: expected '('{{$}}
define void @test_sret(i8* sret) {
ret void
}