aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Assembler/byref-parse-error-1.ll
blob: e63ec34e3532ff1b6c379fa9e13436a3da281019 (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(ptr byref() {
  ret void
}