aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>1998-09-01 10:03:49 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1998-09-01 10:03:49 +0000
commit3d6ed3ef45722af4d8a53928ac429a4a95c774ed (patch)
tree53549181020025edbb59f3ee3dd5d886e446c2a6 /gcc
parent0c8bfdbc0cf0ef6644da218eeb1e816f952f963f (diff)
downloadgcc-3d6ed3ef45722af4d8a53928ac429a4a95c774ed.zip
gcc-3d6ed3ef45722af4d8a53928ac429a4a95c774ed.tar.gz
gcc-3d6ed3ef45722af4d8a53928ac429a4a95c774ed.tar.bz2
Fix typo
From-SVN: r22157
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/crash24.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash24.C b/gcc/testsuite/g++.old-deja/g++.pt/crash24.C
index 442ab59..9c31af6 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/crash24.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/crash24.C
@@ -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>);
}