// RUN: %clang_cc1 -fsyntax-only -verify %s
void ; // expected-error {{non-member function cannot have 'const' qualifier}}
void const; // expected-error {{pointer to function type cannot have 'const' qualifier}}
extern void const; // expected-error {{reference to function type cannot have 'const' qualifier}}
typedef void const;
cfn f2; // expected-error {{non-member function of type 'cfn' (aka 'void () const') cannot have 'const' qualifier}}
;
void const;
cfn C::*mpg;
// Don't crash!
void const; // expected-error {{non-member function cannot have 'const' qualifier}}
// Test template instantiation of decayed array types. Not really related to
// type quals.
void
void