llvm/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p3.cpp

// RUN: %clang_cc1 -fsyntax-only -verify %s
int& r1;	// expected-error{{declaration of reference variable 'r1' requires an initializer}}
extern int& r2;