// RUN: %clang_cc1 -triple x86_64 -S -emit-llvm -disable-llvm-passes -o - %s | FileCheck %s
//
// Verifies that clang-generated *.inline are flagged as internal.
typedef unsigned long size_t;
// Clang recognizes an inline builtin and renames it to memcmp.inline to prevent conflict with builtins.
AVAILABLE_EXTERNALLY int
// CHECK: internal{{.*}}memcmp.inline
int
// Note that extern has been omitted here.
// Clang recognizes an inline builtin and renames it to memcpy.inline to prevent conflict with builtins.
TRIPLE_INLINE void *
// CHECK: internal{{.*}}memcpy.inline
void *