* g++.old-deja/g++.other/bitfld1.C: built-in operator!= should be
preferred over template operator!= for enum bitfields
From-SVN: r22599
+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>
* g++.old-deja/g++.other/nested2.C: different virtual base classes
--- /dev/null
+// 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 *-*-*
+ }
+};