xref: /llvm-project/llvm/test/Assembler/invalid-byval-type2.ll (revision 75a479221b72c8b4827470485949cebf67d1c967)
1; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
2
3; CHECK: error: void type only allowed for function results
4declare void @foo(ptr byval(void))
5