1 ; RUN: llvm-reduce --abort-on-invalid-reduction --delta-passes=global-objects --test FileCheck --test-arg --check-prefixes=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
2 ; RUN: FileCheck --check-prefix=CHECK-FINAL %s --input-file=%t
4 ; CHECK-INTERESTINGNESS: define void @f
5 ; CHECK-INTERESTINGNESS: define void @g
6 ; CHECK-INTERESTINGNESS: define void @i{{.*}} comdat
10 ; CHECK-FINAL: $i = comdat
11 ; CHECK-FINAL: define void @f() {
12 ; CHECK-FINAL: define void @g() {
13 ; CHECK-FINAL: define void @i() comdat {
19 define void @f() comdat {
23 define void @g() comdat($h) {
27 define void @i() comdat {