OSDN Git Service

Fix typo
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Sep 1998 10:03:49 +0000 (10:03 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Sep 1998 10:03:49 +0000 (10:03 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22157 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 442ab59..9c31af6 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>);
 }