1; Test that llvm-reduce correctly removes the entry block of functions for
2; linkages other than external and weak.
3;
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
6
7; CHECK-INTERESTINGNESS: interesting1:
8
9; CHECK-NOT: uninteresting
10define linkonce_odr i32 @foo() {
11uninteresting:
12  ret i32 0
13}
14
15define i32 @main(i1 %c) {
16interesting1:
17  ret i32 0
18}
19