xref: /llvm-project/llvm/test/Bitcode/byval-upgrade.test (revision e45cf479231fc144b4e1eb8b3e3bd2f578b6907d)
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(ptr byval({ ptr, i8 }) %ptr)
7CHECK: invoke void @bar(ptr byval({ ptr, i8 }) %ptr)
8