// RUN: %clang_cc1 -no-opaque-pointers -triple=i386-pc-solaris2.11 -w -emit-llvm %s -o - | FileCheck %s
extern int ;
int name;
// __PRAGMA_REDEFINE_EXTNAME should be defined. This will fail if it isn't...
int
// Check that the call to fake() is emitted as a call to real()
// CHECK: call i32 @real()
// Check that this also works with variables names
// CHECK: load i32, i32* @alias
// This is a case when redefenition is deferred *and* we have a local of the
// same name. PR23923.
int
extern int
// CHECK: define{{.*}} i32 @bar()
// Check that pragma redefine_extname applies to external declarations only.
static int
int
// CHECK-NOT: call i32 @bar_static()
// Check that pragma redefine_extname applies to builtin functions.
typedef unsigned long size_t;
extern void *;
void *
// CHECK: call i8* @__GI_memcpy(