// RUN: %clang_cc1 -fsyntax-only -verify -std=c++1y %s
// expected-no-diagnostics
// C++11 [basic.link]p6:
// The name of a function declared in block scope and the name
// of a variable declared by a block scope extern declaration
// have linkage. If there is a visible declaration of an entity
// with linkage having the same name and type, ignoring entities
// declared outside the innermost enclosing namespace scope, the
// block scope declaration declares that same entity and
// receives the linkage of the previous declaration.
extern int same_entity;
constexpr int *
static_assert;
static int same_entity_2;
constexpr int *
static_assert;
static int different_entities;
constexpr int *
static_assert;