URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [bitfld4.C] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// Origin: "Chen, Wen-Ke" <chwk@cs.arizona.edu>
template <class T>
bool operator!=(const T&, const T&);
enum MsgType {
MSG_DATA
};
class C {
public:
MsgType mType : 8;
};
int main(void)
{
extern C& c;
c.mType = MSG_DATA;
if (c.mType != MSG_DATA)
return -1;
return 0;
}
Go to most recent revision | Compare with Previous | Blame | View Log