1*1437a834SRushi Bhamani; RUN: llvm-reduce --abort-on-invalid-reduction --test FileCheck --test-arg --check-prefixes=CHECK-ALL,CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t 20bc5436aSSamuel; RUN: cat %t | FileCheck --check-prefixes=CHECK-ALL,CHECK-FINAL %s 373017515SRoman Lebedev; RUN: opt -passes=verify %t 40bc5436aSSamuel 50bc5436aSSamuel; CHECK-FINAL-NOT: = comdat 60bc5436aSSamuel; CHECK-INTERESTINGNESS: @callee( 70bc5436aSSamuel; CHECK-FINAL: declare void @callee() 80bc5436aSSamuel 90bc5436aSSamuel$foo = comdat any 100bc5436aSSamuel 110bc5436aSSamueldefine void @callee() comdat($foo) { 120bc5436aSSamuel ret void 130bc5436aSSamuel} 140bc5436aSSamuel 150bc5436aSSamuel; CHECK-ALL: define void @caller() 160bc5436aSSamueldefine void @caller() { 170bc5436aSSamuelentry: 180bc5436aSSamuel; CHECK-ALL: call void @callee() 190bc5436aSSamuel; CHECK-ALL: ret void 200bc5436aSSamuel call void @callee() 210bc5436aSSamuel ret void 220bc5436aSSamuel} 23