1 ; RUN: llvm-reduce --delta-passes=global-objects --abort-on-invalid-reduction --test FileCheck --test-arg --check-prefixes=INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
2 ; RUN: FileCheck --check-prefix=FINAL %s --input-file=%t
4 ; INTERESTINGNESS: @a = global i32
5 ; FINAL: @a = global i32 0{{$}}
7 @a = global i32 0, section "hi"
9 ; INTERESTINGNESS: define {{.*}} @f
10 ; FINAL: define void @f() {
11 define void @f() section "hello" {
15 ; INTERESTINGNESS: declare {{.*}} @g
16 ; FINAL: declare void @g(){{$}}
17 declare void @g() section "hello"