1 ; RUN: opt < %s -passes=globalopt -S | FileCheck %s
2 ; Check that the mere presence of a blockaddress doesn't prevent -globalopt
3 ; from promoting @f to fastcc.
5 ; CHECK-LABEL: define{{.*}}fastcc{{.*}}@f(
6 define internal ptr @f() {
7 ret ptr blockaddress(@f, %L1)
13 ; CHECK: call{{.*}}fastcc{{.*}}@f