1 // RUN: %clang_cc1 -fsyntax-only -pedantic -verify -std=c++11 %s
3 template<typename T
> using U
= int &;
5 template<typename T
, int Size
> void f() {
8 T
& x3
; // expected-error{{declaration of reference variable 'x3' requires an initializer}}
9 T x4
[]; // expected-error{{needs an explicit size or an initializer}}
12 U
<T
> x7
; // expected-error{{declaration of reference variable 'x7' requires an initializer}}