// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
int
int ; // expected-error {{invalid parameter}}
int ; // ok: without parameter name.
// ok: override has special meaning when used after method functions. it can be
// used as name.
int ;
int ; // expected-error {{expected ')'}} expected-note {{to match this '('}}
// FIXME: bad recovery on the case below, "invalid parameter" is desired, the
// followon diagnostics should be suppressed.
int ; // expected-error {{invalid parameter}} \
// expected-error {{expected ')'}} expected-note {{to match this '('}}
void
;