// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
int i ; // expected-error {{'flatten' attribute only applies to functions}}
void ;
void ; // expected-error {{'flatten' attribute takes no arguments}}
void ;
int ; // expected-error{{'flatten' attribute only applies to functions}}
;
int ci ; // expected-error {{'flatten' attribute only applies to functions}}
void ;
void ; // expected-error {{'flatten' attribute takes no arguments}}
void ;
int ; // expected-error{{'flatten' attribute only applies to functions}}
;