1RUN: llvm-dis %p/Inputs/byval-upgrade.bc -o - | FileCheck %s
2
3Make sure we upgrade old-stile IntAttribute byval records to a fully typed
4version correctly.
5
6CHECK: call void @bar({ i32*, i8 }* byval({ i32*, i8 }) %ptr)
7CHECK: invoke void @bar({ i32*, i8 }* byval({ i32*, i8 }) %ptr)
8