aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Verifier/byval-1.ll
blob: 0d303fc9eb851dfb33d4f256373a6236d50dd436 (plain)
1
2
3
4
5
; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s

; CHECK: Attribute 'byval(i32)' applied to incompatible type!
; CHECK-NEXT: ptr @h
declare void @h(i32 byval(i32) %num)