// RUN: %clang_cc1 -std=c++11 -verify -fcxx-exceptions %s
 void  
void a2   
 void a3   
 void  // expected-warning {{function 'a3<int>' declared 'noreturn' should not return}}
 void a4    // expected-warning {{function 'a4' declared 'noreturn' should not return}}
                                                          // expected-warning@-1 {{function 'a4<long>' declared 'noreturn' should not return}}
void  // expected-note {{in instantiation of function template specialization 'a4<long>' requested here}}
 void   // ok
  void   // ok
 void ; // expected-error {{attribute 'noreturn' cannot have an argument list}}
void ; // expected-error {{'noreturn' attribute cannot be applied to types}}
int d2 ; // expected-error {{'noreturn' attribute only applies to functions}}
 int   // ok
int ; // expected-note {{previous declaration is here}}
 int ; // expected-error {{'noreturn' attribute does not appear on the first declaration}}
int ;
 int ;
int  // ok
 int ;
 int ;
 void  // expected-error {{has no members}}
 void 
void