Commit c9b6c487 by Alexandre Oliva Committed by Alexandre Oliva

bitfld1.C: built-in operator!= should be preferred over template operator!= for enum bitfields

	* g++.old-deja/g++.other/bitfld1.C: built-in operator!= should be
	preferred over template operator!= for enum bitfields

From-SVN: r22599
parent c536a84a
1998-09-26 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/bitfld1.C: built-in operator!= should be
preferred over template operator!= for enum bitfields
1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br> 1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/nested2.C: different virtual base classes * g++.old-deja/g++.other/nested2.C: different virtual base classes
......
// Build don't link:
// Based on a bug report by Stephen Vavasis <vavasis@CS.Cornell.EDU>
// declares template operator!=
#include <utility>
struct foo {
enum e { bar } baz:1;
void test() {
baz != bar; // XFAIL *-*-*
}
};
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