// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -verify %s -std=c++11
;
typedef auto -> ;
typedef auto -> ;
void
;
void
;
; // expected-error{{expected class name}}
;
int ;
auto -> auto = &g; // expected-error{{'auto' not allowed in function return type}}
auto = &g; // ok; auto deduced as int.
auto -> int = i; // ok; no deduction.