repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
bitfld4.C
blob
96cb216b546ff2c248977738f08c7fb1273ff0b7
1
// { dg-do assemble }
2
// Origin: "Chen, Wen-Ke" <chwk@cs.arizona.edu>
3
4
template <class T>
5
bool operator!=(const T&, const T&);
6
7
enum MsgType {
8
MSG_DATA
9
};
10
11
class C {
12
public:
13
MsgType mType : 8;
14
};
15
16
int main(void)
17
{
18
extern C& c;
19
20
c.mType = MSG_DATA;
21
if (c.mType != MSG_DATA)
22
return -1;
23
24
return 0;
25
}