// RUN: %clang_cc1 -fexceptions -fcxx-exceptions -verify %s
;
;
;
;
;
;
;
;
void
// expected-error{{result type}}
void ; // expected-error{{parameter type}}
;
void ; // expected-error{{cannot be defined in a parameter type}}
void ; // expected-error{{cannot be defined in a parameter type}}
e19018_1 x2;
void ; // expected-error{{cannot be defined in a parameter type}}
void ; // expected-error{{cannot be defined in a parameter type}}
void ; // expected-error{{cannot be defined in a parameter type}}
void ; // expected-error{{cannot be defined in a parameter type}}
void ; // expected-error{{cannot be defined in a parameter type}}
;
;
;
// expected-error@+2 {{cannot be defined in a parameter type}}
// expected-note@+1 {{previous definition is here}}
void throw
; // expected-error {{redefinition of 'type_in_eh'}}