Commit 31a72d3f by Nathan Sidwell Committed by Nathan Sidwell

cast3.C: Return void.

	* g++.old-deja/g++.jason/cast3.C: Return void.
	* g++.old-deja/g++.pt/dynarray.C: Don't be pedantic.

From-SVN: r31772
parent b8f10c6e
2000-02-03 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.jason/cast3.C: Return void.
* g++.old-deja/g++.pt/dynarray.C: Don't be pedantic.
2000-02-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.dg/unused-2.c: Use -Wreturn-type instead of -Wall.
......
......@@ -10,7 +10,7 @@ struct string
~string ();
};
string _cook(const string raw, bool for_postscript)
void _cook(const string raw, bool for_postscript)
{
unsigned char c = (unsigned) ((string &)raw)[1];
}
// Build don't link:
// Special g++ Options: -ansi
// Origin: Theo Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
inline const unsigned& f(unsigned const& a) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment