// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++14
// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++98 -Wno-c++11-extensions
void
void
int ;
auto p = 0, -> auto = F; // expected-error {{declaration with trailing return type must be the only declaration in its group}}
// expected-error@-2 {{'auto' not allowed in function return type}}
void
;
;