summaryrefslogtreecommitdiffstats
path: root/llvm/test/Assembler/invalid-byval-type1.ll
blob: 236790e11428981afac17ffdf781a73d2c31ad75 (plain)
1
2
3
4
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s

; CHECK: Attribute 'byval' type does not match parameter!
declare void @foo(i32* byval(i8))
OpenPOWER on IntegriCloud