// RUN: %clang_cc1 -fsyntax-only -std=c++98 -verify %s
// A default template-argument shall not be specified in a function
// template declaration or a function template definition
// expected-warning{{default template arguments for a function template are a C++11 extension}}
void ;
// expected-warning{{default template arguments for a function template are a C++11 extension}}
void
// [...] nor in the template-parameter-list of the definition of a
// member of a class template.
;
// expected-error{{cannot add a default template argument}}
void
;