blob: ba201c82be91079161de2962f6aaea374f6dc70b [file] [log] [blame]
Scott Linderb9a4d1d2018-12-14 15:38:15 +00001; RUN: llvm-link %S/Inputs/commandline.a.ll %S/Inputs/commandline.b.ll -S | FileCheck %s
2
3; Verify that multiple input llvm.commandline metadata are linked together.
4
5; CHECK-DAG: !llvm.commandline = !{!0, !1, !2}
6; CHECK-DAG: !{{[0-2]}} = !{!"compiler -v1"}
7; CHECK-DAG: !{{[0-2]}} = !{!"compiler -v2"}
8; CHECK-DAG: !{{[0-2]}} = !{!"compiler -v3"}