Slightly improve the test for partial ordering of overloaded function

templates.

llvm-svn: 81806
This commit is contained in:
Douglas Gregor
2009-09-14 22:31:20 +00:00
parent 48bc374d1e
commit 2e0807cd75

View File

@@ -35,10 +35,12 @@ void g_test() {
template<typename T> T h1(T);
template<typename R, typename A1> R h1(A1);
int h2(char);
int h1(char);
void h(int (*fp)(int));
void ha(int (*fp)(int));
void hb(int (*fp)(double));
void h_test() {
h(h1);
ha(h1);
hb(h1);
}