projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c8bfdb
)
Fix typo
author
Mark Mitchell
<mmitchel@gcc.gnu.org>
Tue, 1 Sep 1998 10:03:49 +0000
(10:03 +0000)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.old-deja/g++.pt/crash24.C
b/gcc/testsuite/g++.old-deja/g++.pt/crash24.C
index 442ab59830c529ada78b414518f16b8f927f2d91..9c31af6017f803a250e3f3992cc03f98897cd5d7 100644
(file)
--- 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>);
}