1 ; Test that llvm-reduce correctly removes the entry block of functions for
2 ; linkages other than external and weak.
4 ; RUN: llvm-reduce --abort-on-invalid-reduction --delta-passes=basic-blocks --test FileCheck --test-arg --check-prefixes=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
5 ; RUN: cat %t | FileCheck %s
7 ; CHECK-INTERESTINGNESS: interesting1:
9 ; CHECK-NOT: uninteresting
10 define linkonce_odr i32 @foo() {
15 define i32 @main(i1 %c) {