xref: /llvm-project/llvm/test/Verifier/byval-1.ll (revision 41d5033eb162cb92b684855166cabfa3983b74c6)
1; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
2
3; CHECK: Attribute 'byval(i32)' applied to incompatible type!
4; CHECK-NEXT: ptr @h
5declare void @h(i32 byval(i32) %num)
6