summaryrefslogtreecommitdiff
path: root/llvm/test/Assembler/byref-parse-error-1.ll
blob: 3f189d340c9ed3e00ca400b29f38ece2c2a94016 (plain)
1
2
3
4
5
6
; RUN: not llvm-as < %s 2>&1 | FileCheck %s

; CHECK: <stdin>:[[@LINE+1]]:35: error: expected type{{$}}
define void @test_byref(i8* byref() {
  ret void
}