aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Assembler/byref-parse-error-2.ll
blob: 476a9e0506f5d84dd1c8625a788a1e93d5a3e626 (plain)
1
2
3
4
5
6
7
; 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
}