c++/2922 - fix comment in testcase
Jonathan Wakely
cow@compsoc.man.ac.uk
Sat Oct 8 19:16:00 GMT 2005
As per Martin's comment here
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2922#c17
The testcase should (and does) make two calls to f(char)
OK to commit?
PR c++/2922
* g++.dg/lookup/two-stage5.C: Fix comment.
-------------- next part --------------
Index: gcc/testsuite/g++.dg/lookup/two-stage2.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/lookup/two-stage2.C,v
retrieving revision 1.1
diff -u -p -r1.1 two-stage2.C
--- gcc/testsuite/g++.dg/lookup/two-stage2.C 21 Jul 2005 03:56:45 -0000 1.1
+++ gcc/testsuite/g++.dg/lookup/two-stage2.C 8 Oct 2005 18:50:25 -0000
@@ -14,6 +14,6 @@ int&f (int);
int main()
{
- g(2); // f(char) followed by f(int)
+ g(2); // two f(char)
g('a'); // two f(char)
}
More information about the Gcc-patches
mailing list