// RUN: %clang_cc1 -std=c++2a -verify %s template notdefined PR45207; // expected-error {{no template named 'notdefined'}} // FIXME: We don't disambiguate this as an undeclared template-id even though there's nothing else it could be. template int var_template(notdefined); // expected-error {{undeclared identifier 'notdefined'}} expected-error {{expected expression}} // FIXME: We don't disambiguate this as a function template even though it can't be a variable template due to the ', int'. template int fn_template(notdefined, int); // expected-error {{undeclared identifier 'notdefined'}} expected-error {{expected expression}} expected-error {{expected '('}}