bolt/deps/llvm-18.1.8/llvm/test/Verifier/byval-1.ll
2025-02-14 19:21:04 +01:00

5 lines
178 B
LLVM

; 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)