Commit 532f12a2 by Nathan Sidwell Committed by Nathan Sidwell

* g++.old-deja/g++.bugs/900215_01.C: Adjust.

From-SVN: r32425
parent 17708e90
2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.bugs/900215_01.C: Adjust.
2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.brendan/misc12.C: Removed.
* g++.old-deja/g++.pt/memtemp77.C: Constify.
* g++.old-deja/g++.ext/pretty4.C: New test.
......
......@@ -16,15 +16,18 @@
// keywords: user-defined type conversion operators, void type, explicit casts
// 8/3/2000 (nathan): The std allows you to define such an op, but
// it will never be called. [class.conv.fct]. Make it an unconditional warning.
struct struct0 {
operator void (); // ERROR - operator void
operator void (); // WARNING - operator void
};
int exit_status = 1;
struct0::operator void ()
{ // ERROR - operator void
{
exit_status = 0;
}
......
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