This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
PCH bug, cont'd
- From: Jon Salz <jsalz at mit dot edu>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 28 Jan 2003 15:12:37 -0500 (EST)
- Subject: PCH bug, cont'd
Another way to reproduce the PCH bug is to change '\n' to endl in the
g++.dg/pch testsuite.
----- begin gcc/gcc/testsuite/g++.dg/pch/system-1.C
#include "system-1.H"
int main()
{
std::cout << "hello world!" << '\n';
return 0;
}
----- end
The rather unusual way that this is written (who writes a separate '\n'
instead of an endl?) make me think that someone has already encountered
this but decided not to think about it :)
- Jon