// RUN: %clang_cc1 -no-opaque-pointers -triple=i386-pc-solaris2.11 -w -emit-llvm %s -o - | FileCheck %s
extern "C"
void
// This is a case when redefenition is deferred *and* we have a local of the
// same name. PR23923.
int
extern "C"
// Check that #pragma redefine_extname applies to C code only, and shouldn't be
// applied to C++.
extern int
// CHECK-NOT: define{{.*}} i32 @bar_cpp()