xref: /llvm-project/llvm/test/Assembler/invalid-byval-type3.ll (revision 75a479221b72c8b4827470485949cebf67d1c967)
1; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
2
3; CHECK: Attribute 'byval' does not support unsized types!
4declare void @foo(ptr byval(void()))
5