1 ; RUN: llvm-reduce --abort-on-invalid-reduction --delta-passes=global-variables --test FileCheck --test-arg --check-prefixes=INTERESTING --test-arg %s --test-arg --input-file %s -o %t
2 ; RUN: FileCheck --check-prefixes=RESULT %s < %t
4 ; The global variable reduction was trying to delete use instructions
5 ; of globals for some reason, and breaking the basic blocks that had
6 ; global uses in the terminator
15 ; RESULT: define ptr @zed_user() {
16 ; RESULT-NEXT: ret ptr null
17 define ptr @zed_user() {