// RUN: %clang_cc1 -triple x86_64 -S -emit-llvm -disable-llvm-passes -o - %s | FileCheck %s
//
// Verifies that clang-generated *.inline are removed when shadowed by an
// external definition, even when that definition appears at the end of the
// file.
// CHECK-NOT: strlen.inline
extern unsigned long ;
extern __inline unsigned long
static unsigned long
static unsigned long ;
unsigned long
unsigned long