llvm/llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/global_remove_same.ll.expected

; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -S < %s | FileCheck %s

define i32 @foo() {
; CHECK-LABEL: @foo(
; CHECK-NEXT:    [[RESULT:%.*]] = call i32 @bar(i32 0, i32 1)
; CHECK-NEXT:    ret i32 [[RESULT]]
;
  %result = call i32 @bar(i32 0, i32 1)
  ret i32 %result
}

declare i32 @bar(i32, i32)