Fix typo
authorMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 1 Sep 1998 10:03:49 +0000 (10:03 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 1 Sep 1998 10:03:49 +0000 (10:03 +0000)
From-SVN: r22157

gcc/testsuite/g++.old-deja/g++.pt/crash24.C

index 442ab59830c529ada78b414518f16b8f927f2d91..9c31af6017f803a250e3f3992cc03f98897cd5d7 100644 (file)
@@ -1,11 +1,11 @@
 // Build don't link:
 
 template<typename T, template <class> class U> void template_fn (T);
-template<typename T, typename U> void callme ( void (*)(T));
+template<typename T> void callme ( void (*)(T));
 
 template<typename T> struct S1;
 
 int main()
 {
-  callme( template_fn<double, S1>); // ERROR - no matching function
+  callme(&template_fn<double, S1>);
 }