4 // From: dougm@cs.rice.edu (Doug Moore)
5 // Date: Thu, 18 Mar 93 00:14:57 CST
6 // Subject: 2.3.3:Inconsistent behavior for enum conversions
7 // Message-ID: <9303180614.AA12123@cs.rice.edu>
9 enum Enum {enumerator1, enumerator2};
14 int getI(Enum) {return i;} // { dg-message "Struct::getI|no known conversion" }
26 int x = funct(e+1);// { dg-error "invalid" }
27 int y = s.getI(e+1);// { dg-error "invalid" }