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

; CHECK: Attributes 'byval' and 'inalloca' do not support unsized types!
declare void @foo(void()* byval(void()))
OpenPOWER on IntegriCloud