// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
;
auto int
auto ; // expected-error{{return without trailing return type; deduced return types are a C++14 extension}}
decltype ; // expected-warning{{extension}} expected-error-re{{{{^}}deduced return types are a C++14 extension}}
auto badness = ;
int int; // expected-error{{trailing return type must specify return type 'auto', not 'int'}}
int ;
auto int;
int
using T = auto -> -> void; // expected-note {{previous}}
using T = void; // expected-error {{type alias redefinition with different types ('void' vs 'auto (int) -> auto (*)(char) -> void')}}
using U = auto -> -> void;
using U = void ; // ok
int x;
auto decltype
only<double> p1 = ;
;
X<int> xx;
only<int> p2 = xx.;
only<double> p3 = xx.;
only<double> p4 = xx..;