1 // RUN: %clang_cc1 -triple x86_64 -emit-llvm -disable-llvm-passes -o - %s | FileCheck %s
3 // Verifies that clang-generated *.inline are removed when shadowed by an external definition
5 // CHECK-NOT: strlen.inline
7 unsigned long strnlen(const char *, unsigned long);
8 void fortify_panic(const char *);
10 extern inline __attribute__((always_inline
)) __attribute__((gnu_inline
)) unsigned long strlen(const char *p
) {
13 unsigned long mystrlen(char const *s
) {
16 unsigned long strlen(const char *s
) {
19 unsigned long yourstrlen(char const *s
) {