1; RUN: llvm-dis < %s.bc | FileCheck %s
2
3; Bitcode compatibility test for 'dynamic' parameter to llvm.objectsize.
4
5define void @callit(i8* %ptr) {
6  %sz = call i64 @llvm.objectsize.i64.p0i8(i8* %ptr, i1 false, i1 true)
7  ; CHECK: %sz = call i64 @llvm.objectsize.i64.p0i8(i8* %ptr, i1 false, i1 true, i1 false)
8  ret void
9}
10
11declare i64 @llvm.objectsize.i64.p0i8(i8*, i1, i1)
12; CHECK: declare i64 @llvm.objectsize.i64.p0i8(i8*, i1 immarg, i1 immarg, i1 immarg)
13