// RUN: %clang_cc1 -std=c++2b -fsyntax-only -verify=expected,cxx2b %s
// RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify=expected,cxx98_20 %s
// RUN: %clang_cc1 -std=c++98 -fsyntax-only -verify=expected,cxx98_20 %s
// RUN: %clang_cc1 -fsyntax-only -verify=expected,cxx98_20 %s
;
A::operator T*
A::operator char* // specialization
; // explicit instantiation
int
// PR5742
// PR5762
;
;
;
// Partial ordering with conversion function templates.
;
; // expected-note{{'X0::operator const char *<char>' requested here}}
; // expected-note{{'X0::operator const int *<const int>' requested here}}
; // expected-error{{explicit instantiation of undefined function template 'operator type-parameter-0-0 *'}}
void